• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

using the javascript: URL pseudoprotocol in Internet Explorer 6.0

I'm just now reading about JavaScript and read about using the javascript: URL pseudoprotocol to debug javascript.

How do I do this in Internet Explorer 6.0?

thanks,
newbieweb
0
newbieweb
Asked:
newbieweb
  • 2
  • 2
1 Solution
 
hieloCommented:
I just separate each statement with semicolons. I just typed this in the address bar:
javascript:alert("Hello");var x =3; alert(x + 5);function greeting(str){alert(str);}; greeting("How are you?");
0
 
newbiewebSr. Software EngineerAuthor Commented:
cool!
0
 
hieloCommented:
glad to help
0
 
newbiewebSr. Software EngineerAuthor Commented:
does it work the same for VBScript too?

Just wondering.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now