I use Grocery CRUD (CodeIgniter) and it has an issue when I insert a javascript as a input text. Input:
<script> document.getElementById("demo").innerHTML = "Hello JavaScript!"; </script>
In phpmyadmin:
after save this record, grocery crud keep showing error popup:
The reason this occurs is that the quotes in the script escape the JSON data used to transfer the message.
The asker was able to work around this using HTMLentities to escape the data prior to sending it.