Sure you have the ID of the form correct? 

-----Original Message-----
From: H13 [mailto:[email protected]] 
Sent: Tuesday, 8 September 2009 2:41 AM
To: MooTools Users
Subject: [Moo] Re: Submit()


Hi, thank you for answers but:

if I use:
---
$('formid').send();
---
I get (in firebug):
---
b is null
anonymous(Object)mootools-core.js (line 338)
anonymous()mootools-core.js (line 97)
anonymous(Object name=a)mootools-core.js (line 346)
function onclick(event) { $("form1").send(); }(click clientX=461,
clientY=294)1 (line 2)
[Break on this error] }var e=b.lastIndexOf("/");if(e>-1&&(e=b....
(a.toUpperCase(),b,this.options.async);\n
---
:-(

If I use:
---
onclick="$('formid').fireEvent('submit');"
---
I get:
---
a is undefined
anonymous(Object name=a, Window store.php)mootools-core.js (line 82)
anonymous(Object name=e)script.php (line 6)
anonymous()mootools-core.js (line 57)
anonymous(Object name=d)mootools-core.js (line 58)
anonymous(function())mootools-core.js (line 185)
anonymous("submit", Object name=b, Object name=a)mootools-core.js
(line 186)
function onclick(event) { $("form1").fireEvent("submit"); }(click
clientX=441, clientY=287)1 (line 2)
[Break on this error] var Event=new Native({name:"Event",initi...rn a;}
this.$extended=true;var j=a.type;\n
---


Reply via email to