I want to use jQuery-confirm dialog instead of echoing a Javascript alert
from PHP. When I run following code it shows me this error:
$ is not defined
echo "<script>$.alert({title: 'Alert!',content: 'Simple alert!',});</script>";
I want to use jQuery-confirm dialog instead of echoing a Javascript alert
from PHP. When I run following code it shows me this error:
$ is not defined
echo "<script>$.alert({title: 'Alert!',content: 'Simple alert!',});</script>";