prakash Posted February 8, 2009 Share Posted February 8, 2009 I have following code on my page that will retrieve and change the value inside <div> <select name="myselect1" onChange="javascript: MyAjaxRequest('testDiv','ajax.php?doc=doc1&selectvalue=','myselect1')"> <option value="">Please Select</option> <option value="1">Value 1</option> <option value="2">Value 2</option> </select> <div id="testDiv">Please first select options.</div> The same code works on IE7 but doesn't work on FF. Could anyone help me to solve this issue Link to comment https://forums.phpfreaks.com/topic/144318-firefox-issue-with-onchange/ Share on other sites More sharing options...
corbin Posted February 8, 2009 Share Posted February 8, 2009 First off, I would change <select name="myselect1" onChange="javascript: MyAjaxRequest('testDiv','ajax.php?doc=doc1&selectvalue=','myselect1')"> to <select name="myselect1" onchange="MyAjaxRequest('testDiv','ajax.php?doc=doc1&selectvalue=','myselect1')"> Second off, I'm sure the error is in MyAjaxRequest. We need to see the code for that. Link to comment https://forums.phpfreaks.com/topic/144318-firefox-issue-with-onchange/#findComment-757306 Share on other sites More sharing options...
prakash Posted February 8, 2009 Author Share Posted February 8, 2009 The changes even doesn't work. I am using ajaxrequest.js from http://www.phpfreaks.com/forums/index.php/topic,115581.0.html Link to comment https://forums.phpfreaks.com/topic/144318-firefox-issue-with-onchange/#findComment-757308 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.