homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Browsers / Firefox Browser Usage and Support
Forum Library, Charter, Moderators: incrediBILL

Firefox Browser Usage and Support Forum

Firefox No Response for "onClick"

 2:14 pm on Aug 6, 2005 (gmt 0)

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



 2:28 pm on Aug 6, 2005 (gmt 0)

Is there anything in the Javascript console?


 2:32 pm on Aug 6, 2005 (gmt 0)

am calling external js in same page:

<SCRIPT LANGUAGE="JavaScript" SRC="addemail.js" type="text/javascript">


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


 3:03 pm on Aug 6, 2005 (gmt 0)

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]


 11:47 pm on Aug 6, 2005 (gmt 0)

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?



 10:00 am on Aug 7, 2005 (gmt 0)

it workeddd...

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Browsers / Firefox Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved