hi there! i'm a new bee. I'm having problem sending two data here.
text and text2 are my textboxes, but only text2 show its value.Code:parameters = 'text='+document.getElementById('text').value && 'text2='+document.getElementById('text2').value; xmlhttp.open('POST', 'try.php', true); xmlhttp.setRequestHeader('Content-type', 'application/x-www-form-urlencoded'); xmlhttp.send(parameters);



Reply With Quote
Bookmarks