I have a script (editablegrid) that loads an php file (loaddata.php) inside a js file(JSON)(demo.js). When i make a js alert on php file:
echo '<script language="javascript">';
echo 'alert("message successfully sent")';
echo '</script>';
Script stopped and alert it's not show. If i remove this echo's script works fine. How can i make an alert to see a var (an $sql var)?
Thanks
this.editableGrid.loadJSON(url);? If yes, try to load it using different way since the data is supposed to be json