Title: Message
Yup
 
<script id="formSource" src=""></script>
<script>
 alert(document.getElementById("formSource").src);
</script>
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Taco Fleur
Sent: Saturday, 28 June 2003 7:19 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: [OT] _javascript_ function?

Steve,
 
Do you mean like <script language="_javascript_" src="" type="text/_javascript_" id="js10"></script> ?
If so, is that valid HTML?
 
Thanks,
Taco
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Onnis
Sent: Saturday, 28 June 2003 7:11 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: [OT] _javascript_ function?

Taco
 
Give your script tag an id and change the src of the file on the fly would be your best bet
 
Steve
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Taco Fleur
Sent: Saturday, 28 June 2003 6:50 PM
To: CFAussie Mailing List
Subject: [cfaussie] [OT] _javascript_ function?

Is there some kind of function that enables me to load an include or other file that contains specific _javascript_?
Not wanting to replace the current page, I just want to do the following;
 
Page loads, script checks to see if any forms are present in the page (not a problem) then I want to get the name of the form and depending on the name I would like to include/load some additional _javascript_ into the page. I also don't want to work with frames, is any of this possible? Or am I just dreaming...
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to