|
Mailing Lists
|
Home / Groups / Ajax
URGENT help neededAlthough there is not enough information on your problem, can I give you some advice. Go to http://getfirebug.com/ Download and install this plugin for firefox, then switch it on for the site you want to delve deeper into. This will allow you to see what is being returned from the browser, if you are using ajax calls, it will also show the call to the server and what is returned by the server. I can't stress enough how important that tool is for developers debugging applications. I only wish that more people know about it:-) -- Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 9015 8628 Mobile: 0404 998 273 Can anybody help me construct the string Because it does not insert into DB function preprocessAll(obj) { switch(obj.id) { case "btnAdd": var poststr=""; poststr += obj.id + "=" + encodeURI(obj.value); poststr += "&"; poststr += "topLevel=" + encodeURI(document.getElementById("topLevel").value); poststr += "&"; //poststr += "foundOn=" + encodeURI(document.getElementById("foundOn").value); for (var i=0; i < document.getElementById("foundOn").options.length; i++) { if (document.getElementById("foundOn").options[i].selected) { poststr += document.getElementById("foundOn").options[i].value ; } } if (poststr.length > 0) { poststr = poststr.substring(0, poststr.length-1); } poststr += "&"; poststr += "txtAreaDesc=" + encodeURI(document.getElementById("txtAreaDesc").value); poststr += "&"; poststr += "link=" + encodeURI(document.getElementById("link").value); makeRequestAll('insertIntoMenu.cfm', poststr); break; } } |
February 12, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||