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 Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.