| Mobile | RSS

Ajax is not working in Firefox,IE

Posted by ramanean on February 27th, 2010 | No Comments | Posted in General


To troubleshoot this follow the below steps as mentioned below

Before you troubleshoot

a)Make sure that you do n’t have a function name that has a same name has a html variable

E.g

In the below example

Ajax won’t work since the function name has the same name as the input variable (Function is testt and variable is also test)

Username :
<input id="testinput1" name="username" size="20" type="text" />

Abuse:
<textarea id=”testt” cols=”60″ rows=”3″ name=”test”></textarea>

<input onclick=”testt(document.getElementById(‘testinput1′).value,document.getElementById(‘abuse1′).value)” type=”button” value=”testt” />

Steps to follow:

1.Add a alert statement in the javascript function to see where it stops working.(Add as many as alerts)

2.Check the javascript function in the page

3.Check the functions and code in the page that would be called by variables..

  • No Related Post

Leave a Reply