[jQuery] Re: Problem with double submit of and form

2009-07-01 Thread jogep
).ready(function () { $('#testlink').bind( 'click', function(e){ $("#tpanlegen").effect("slide",{ },2000 ); }); }); Best Regards Johannes Geppert - web:http://www.jgeppert.com twitter:http://twitter.com/jogep

[jQuery] Re: Problem with double submit of and form

2009-06-29 Thread jogep
ustcrammedinthere. > (ItsWayEasierToReadAVariableIfYouCamelCaseIt) > 8. Don't make variable names as long as the previous example. > Remember, with javascript, size matters. The smaller your file, the > faster it can be transmitted. The less meaningless declarations and > scruff cod

[jQuery] Re: Problem with double submit of and form

2009-06-24 Thread jogep
when I try your code the form will still executed twice. The Alert tells me 1 closest form . Any other Idea? Thank You Johannes - web:http://www.jgeppert.com twitter:http://twitter.com/jogep On 24 Jun., 16:01, fredrik wrote: > What happens w

[jQuery] Re: Problem with double submit of and form

2009-06-24 Thread jogep
thanks for fast response. Sorry but the form was still executed twice. Best Regards Johannes Geppert - web: http://www.jgeppert.com twitter: http://twitter.com/jogep On 24 Jun., 11:42, fredrik wrote: > You have to prevent the form it self f

[jQuery] Problem with double submit of and form

2009-06-24 Thread jogep
t;#tpanlegen").effect("slide",{ },2000 ); }); }); Best Regards Johannes Geppert - web: http://www.jgeppert.com twitter: http://twitter.com/jogep

[jQuery] Find parent form

2009-06-18 Thread jogep
Hello, i need to find a parent form of an submit button with jquery. The method $('#submit').parent("form") only works when the submit is direct in the form element. But when I surround the submit element with an div it does not work. Sample: This work: This work not: How can I