7

If you're using Firebug (Firefox) and you type in javascript in the Console command line and press enter it executes. However, for good reason, when you expand the command line into a multi-line text area to the right then pressing enter does not execute the code. Instead you have to click Run at the lower left of this window.

Is there a hot-key/shortcut to run the contents of the command window? (i.e. without mouse clicking.)

1 Answer 1

15

Command + Enter does it for me. (on OS X)

For windows it's likely Ctrl + Enter.

1
  • Sometimes this works but for some reason it will often just show the last result again. Any idea why? Aug 15, 2013 at 7:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.