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

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -