homepage Welcome to WebmasterWorld Guest from 23.22.97.26
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
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"
smagdy




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

Hi,
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

 

Robin_reala




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

Is there anything in the Javascript console?

smagdy




msg:1589901
 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">
</SCRIPT>

------------------------------------

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

smagdy




msg:1589902
 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]

kaled




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

Why not call a simple function using onclick?
e.g.
onclick="doit();"

and place all work in the function doit()

I'm seeing too many quotes. Does the page validate?

Kaled.

smagdy




msg:1589904
 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