What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » JavaScript code execute within url

JavaScript code execute within url
Author: Message:
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: JavaScript code execute within url
quote:
Originally posted by DJeX
Ermm maybe I didn't explain my self, how do I run a function in a web page useing the URL of the page.

like: http://www.bla.com/page.html(then the function to run here)
thats in possible you cant run javascript with a url like that , only by using the protocol javascript://
nothings stopping you parsing the url eg
http://blah.com/page.html?functiontorun
then just a quick eval to run that function.

quote:
Originally posted by Juzzi
quote:
Originally posted by Regexp
Can't do that with javascript - you cant obtain get and post variables.
Shouldn't you be able to obtain the GET variables using document.location...?
yup just need to write some sort of parser to do it.

This post was edited on 08-31-2005 at 11:57 AM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
08-31-2005 06:44 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
JavaScript code execute within url - by DJeX on 08-31-2005 at 05:27 AM
RE: JavaScript code execute within url - by ShawnZ on 08-31-2005 at 05:33 AM
RE: JavaScript code execute within url - by DJeX on 08-31-2005 at 05:37 AM
RE: JavaScript code execute within url - by ShawnZ on 08-31-2005 at 05:51 AM
RE: JavaScript code execute within url - by surfichris on 08-31-2005 at 06:00 AM
RE: JavaScript code execute within url - by L. Coyote on 08-31-2005 at 06:07 AM
RE: JavaScript code execute within url - by Yousef on 08-31-2005 at 06:13 AM
RE: JavaScript code execute within url - by -dt- on 08-31-2005 at 06:44 AM
RE: JavaScript code execute within url - by Matti on 08-31-2005 at 07:07 AM
RE: JavaScript code execute within url - by segosa on 08-31-2005 at 11:40 AM
RE: JavaScript code execute within url - by DJeX on 08-31-2005 at 04:55 PM
RE: JavaScript code execute within url - by Yousef on 08-31-2005 at 05:08 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On