fareedreg Posted January 13, 2010 Share Posted January 13, 2010 I am using php with ajax with library project.. I am displaying (bookname,price,issue charge etc) from mysql database into divtag through AJAX.. but when i would like to insert fields in mysql database ... i would not be able to pick issue charge from div tag.. my first file is bookissueadd.php in which i m using ajax and and displaying value in txtbook divtag from ajax....code is followin <div name="txtHint" id="txtHint"><b></b></div> </td> second file is selectbookname.js ..... code is following function stateChangedbook() { if (xmlhttp.readyState==4) { document.getElementById("txtbook").innerHTML=xmlhttp.responseText; } } third file is getbookname.php which i m calling from javascrip... $cal = $bookprice/100*$perval; this $cal variable is getting issue charges..... now how can i get this value backto my bookissueadd.php so i can process its value at submit time [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/188362-how-to-pick-up-value/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.