| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|Firefox No Response for "onClick"|
It is working very fine on IE but no response in FF lastest version... why?
Here is the onClick code:
<input type="button" onClick="checkEmails(getalert.value,'',<? echo "$results->id";?>)" style="color:#FFFFFF; background-color:#BEB789; height:22px; width:64px;" value="Get alert">
any tip would be apreciated
Thanks in advance
am calling external js in same page:
and that script is XMLHTTPREQUEST code but it doest go there at all in FF.. but it works fine as i mentioned b4 just in IE
onClick="checkEmails(getalert.value,'',<? echo "$results->id";?>)"
the getalert.value is <input type=text>
it works when i put qutations like this 'getalert.value' but works the wrong way cuz it send "getalert.value" instead of the real value..
so what is wrong?
How should it be?
[edited by: tedster at 6:23 am (utc) on Aug. 7, 2005]
[edit reason] disable smile graphics [/edit]
Why not call a simple function using onclick?
and place all work in the function doit()
I'm seeing too many quotes. Does the page validate?
the mistake was.. i didnt add <form></form>
cuz in fact i didnt need it.. but i added it now so it worked..
Thanks everybody for ur time.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved