form_open_multipart() ... |
[eluser]Asinox[/eluser]
hi, all right here? guys i have a litter problem im trying to pass a javascript function to the form.... in this way Code: $js = 'onsubmit="return Spry.Utils.submitForm(this, updateResponseDiv)'; the result is : Code: <form action="...//" mnsubmit="return Spry.Utils.submitForm(this, updateResponseDiv) method="post"> do u see the MNSUBMIT?? I have something wrong of is a bug??? Thanks u
[eluser]pistolPete[/eluser]
You are passing a string but the attributes should be an array: User Guide Quote:Adding Attributes The corrected code looks like: Code: $js = array('onsubmit' =>'return Spry.Utils.submitForm(this, updateResponseDiv);');
|
Welcome Guest, Not a member yet? Register Sign In |