Javascript Arrgh!!

2000-03-31 Thread Brian L. Wolfsohn
Can any of you javascript gurus out there lend a helping hand ??? This works in netscape 4.x, but fails in i.e. 4 with a message that says : "object doesn't support this property or method." It looks like it's failing on the semi-colon after the word top Changing the type from button to

Re: Javascript Arrgh!!

2000-03-31 Thread Larry Meadors
I don't think that the form object in ie4 has an onClick method, the button does. Also (and this is just a style thing) I think I'd break the onClick into a seperate function like this: script function SetAction(oForm, sAction){ oForm.action = sAction; }; function SetActionAndSubmit(oForm,

RE: Javascript Arrgh!!

2000-03-31 Thread Eddie Shipman
Is CatNav the name of your FORM? The Form does not have an onClick method... so this: document.CatNav.onClick="document... wouldn't work...format it like this: INPUT TYPE="Button" VALUE="lt;lt;nbsp;Top" Name="Top"

RE: Javascript Arrgh!!

2000-03-31 Thread Gilles Ratte
ot; Name="Top" onClick="doit();" -Message d'origine- De: Brian L. Wolfsohn [SMTP:[EMAIL PROTECTED]] Date: 31 mars, 2000 10:54 À:[EMAIL PROTECTED] Objet:Javascript Arrgh!! Can any of you javascript gurus out there lend a helping hand ???

Re: Javascript Arrgh!!

2000-03-31 Thread Brian L. Wolfsohn
At 11:06 AM 3/31/2000 , you wrote: Tanks you vedy,vedy much. works like a charm... I don't think that the form object in ie4 has an onClick method, the button does. Also (and this is just a style thing) I think I'd break the onClick into a seperate function like this: script function