Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why the URL object doesn't take javascript as it's protocol

Status
Not open for further replies.

iuanee

Programmer
Jun 13, 2003
26
0
0
US
Why the URL object doesn't take javascript as it's protocol? is there anyway to make it happen?
 
javascript as a protocol?
Hm.

For an URL-Object?
Because javascript isn't a protocol, but a scripting language?

May you type into your browser:
Code:
javascript://foo.bar.com/foo.js
No.
Javascript is typically embedded in html, and http is the protocol.
While ftp is another protocol.

seeking a job as java-programmer in Berlin:
 
Last time I checked, JavaScript was a scripting language, not a network protocol.
Perhaps you should read more about what a protocol is :
--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top