generally I do something like here:
http://www.foorumbbs.com/static/js/utils.js
code:
$(document.forms).each( function(theform) {
// disabled the Submit and Reset when submit a form
// to avoid duplicate submit
$(theform).submit( function() {
$('input:submit
yeah that would probably work but it would be much nicer if I wouldn't
have to do any changes in the html directly because there are really
really many forms, any advise??
shall I first replace the submit button with such a button and than
use your code or is this a rather dirty way to do it and i
You could change the submit to a button and use one() ...
For example...
jQuery(function($){
$('input.submitbutton').one('click', function(){
$(this).parents('form')[0].submit();
return false;
});
});
On Dec 22, 4:35 pm, psy* <[EMAIL PROTECTED]> wrote:
> Hello,
>
3 matches
Mail list logo