You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "martijn.list" <ma...@gmail.com> on 2009/10/21 10:39:55 UTC
Javascript submit in onclick results in javascript in function $T
on IE7
If I submit a form using javascript in the onclick I get a javascript
error on IE7
submit:
onclick="$('inputForm').submit();"
Error in tapestry.js:
function $T(element)
{
var e = $(element);
var t = e._tapestry; <--- Error: Object required (in IE7)
Any idea?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Javascript submit in onclick results in javascript in function $T
on IE7
Posted by cordenier christophe <ch...@gmail.com>.
Why do you need javascript ? if this is for submitting a form with a link,
check this URL :
http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/LinkSubmit.html
2009/10/21 martijn.list <ma...@gmail.com>
> If I submit a form using javascript in the onclick I get a javascript error
> on IE7
>
> submit:
>
> onclick="$('inputForm').submit();"
>
>
> Error in tapestry.js:
>
> function $T(element)
> {
> var e = $(element);
> var t = e._tapestry; <--- Error: Object required (in IE7)
>
>
> Any idea?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>