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

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -