javascript - Echo alert in php using jquery -
i'm new programming world, take easy.. i'm running tests , realise when use jquery libraries outside of php create form, echo inside php doesn't work. want alert message found out can done
echo "<script>alert ('message')</script>";
but anyway echo responsible not seeing anything.. problem jquery libraies (which don't think so..) or i'm not knowing i'm doing..?
what code use..?
thank in advance..!!
your code should be:
echo '<script type="text/javascript">alert("message")</script>';
Comments
Post a Comment