I recived a mail form a colluge today,
He wanted me to paste the following line in the address bar of my internet explorer and click go.
viola..! There came a message.
well thats really good isn't it.
You can write small javascript function and may be test them in IE with out creating a page.
I tested in firefox too, it works.
So, I learnt this today.
"Java script can be executed in IE without a page"
i hope that for people who donn know this already this will be useful.
SAMPLE CODE:
javascript:function reverse() { var inp = " TSEB EHT SI RAFIS ……rebmemer n !! krow lufesu emos od oG "; var outp = ""; for (i = 0; i <= inp.length; i++) { outp = inp.charAt (i) + outp ; } alert(outp) ;}; reverse();