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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<script language="javascript" for="..." event="...">

Status
Not open for further replies.

theEclipse

Programmer
Dec 27, 1999
1,190
US
Can anyone tell me how to use the for=&quot;...&quot; and event=&quot;...&quot; attributes in the javascript header tag? Or even if they are even really html attributes? You can see an example of them in a folder on you win98 machine, in the file folder.htt (a hidden,system file). it can be viewed using notepad. <p>theEclipse<br><a href=mailto:eclipse_web@hotmail.com>eclipse_web@hotmail.com</a><br><a href=robacarp.webjump.com>robacarp.webjump.com</a><br>**-Trying to build a documentation of a Javascript DOM, crossbrowser, of course. E-mail me if you know of any little known events and/or methods, etc.
 
The only HTML reference I've seen which mentions these attributes is at <A HREF=" TARGET="_new"> but it's very sketchy.<br><br>Maybe you also need a hardcore Javascript reference&nbsp;&nbsp;-&nbsp;&nbsp;try the one in the &quot;Documentation&quot; section of <A HREF=" TARGET="_new">
 
thanks, but I can't find anything at blooberry.com, can you be more specific? <p>theEclipse<br><a href=mailto:eclipse_web@hotmail.com>eclipse_web@hotmail.com</a><br><a href=robacarp.webjump.com>robacarp.webjump.com</a><br>**-Trying to build a documentation of a Javascript DOM, crossbrowser, of course. E-mail me if you know of any little known events and/or methods, etc.
 
wait, wait, nevermind, I found it, and you are right, it is verry sketchy<br> <p>theEclipse<br><a href=mailto:eclipse_web@hotmail.com>eclipse_web@hotmail.com</a><br><a href=robacarp.webjump.com>robacarp.webjump.com</a><br>**-Trying to build a documentation of a Javascript DOM, crossbrowser, of course. E-mail me if you know of any little known events and/or methods, etc.
 
I also can't tell you much, but I do know this.&nbsp;&nbsp;These attributes only work with IE4/5.&nbsp;&nbsp;As such, you'll probably only find something about them at Microsoft.com.
 
I can't remember where I met this, but as I remember, the <i>for</i> refers to element on the page and <i>event</i> refers to event of this element and the code in the &lt;script&gt; is an eventhandler for the specific event of the specific element. Also not sure, but it is only MS specific, so you can try to search through the MicroSoft on-line documentation for more details.<br><br>Never used it.<br><br> <p>IvanP<br><a href=mailto:ip@thehyper.net>ip@thehyper.net</a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top