MOOTOOLS calling sexy.error() from PHP

Posted by Mikey1980 on Stack Overflow See other posts from Stack Overflow or by Mikey1980
Published on 2010-04-21T13:48:19Z Indexed on 2010/04/21 13:53 UTC
Read the original article Hit count: 153

Filed under:
|

I am very inexperienced with PHP and I've having trouble calling a mootools function.

Here's my code:

echo '<script language="JavaScript">'; 
echo "Sexy.error('Test!');"; 
echo '</script>';

When I try it with a simple alert('test') it works just fine.. I'm confused?!?

© Stack Overflow or respective owner

Related posts about mootools

Related posts about php