Show alert messages in firebug
A cool javascript trick:
then
will show up in Firebug instead of an alert screen:
1 |
alert = console.log |
then
1 |
alert('hello')
|
will show up in Firebug instead of an alert screen:
1 |
"hello" |