Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: javascript for IE specific needed!!!


Message #1 by "Epyon" <chyekiang@c...> on Tue, 13 Jun 2000 4:52:58
hi, 

the code below works for Netscape, but not for IE

top.frames[5].document.layers["myA"].document.forms[plLine].ordrbox1.click()

basically wat it does is accessing a checkbox of a form found in a LAYER in 
a particular frame of an HTML page.

I have replace relevant IE specific standard as shown below, but it still 
throws me an error, saying "top.frames[5]..... .forms is not an object"

top.frames[5].document.all["myA"].forms[plLine].item("ordrbox1").click()

can anyone help? thanks!!!

  Return to Index