[Solved] how to send data from js to php? [closed]
Try this once!! function loadpage(){ //only for one textarea var text = document.getElementByTagName(“textarea”).value; $.ajax({ type: ‘POST’, url: ‘lib/ajax.php’, data: {‘data1’: text}, success: function(res){ $(“#inneroutput”).html(res); } }); solved how to send data from js to php? [closed]