Title: Message
the otherway if you want to is to have all the scripts in a single js include and use a switch inside the file for the appropriate forms you are wanting to do
 
I guess the question is, why do you need to load different files for different forms?
 
Steve
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Taco Fleur
Sent: Saturday, 28 June 2003 7:47 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: [OT] _javascript_ function?

Steve, it is not that I do not want to believe you, I rather hope you are right... But...
W3C says it's not valid.. Any ideas? Not only that, I have not seen it nor does DreamWeaver list it as a valid attribute.
Please proof me very wrong so my problem is solved... Cheers mate.
 
there is no attribute ‘FOO’ for this element (in this HTML version)

You have used an attribute with an element that is defined not to have that attribute. This is most commonly caused by using vendor-specific attributes without setting the document type appropriately.

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Onnis
Sent: Saturday, 28 June 2003 7:39 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: [OT] _javascript_ function?

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/
---
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