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

What can cause "Required Package 'IndyCore' not found" when compiling a Delphi 2010 project? -

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