Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I'm trying achieve what it says in the title.

I'm using jQuery and I have the ajaxForm plugin that is used elsewhere in my App.

The code I have currently is

$('form.date-response input[type=checkbox]').live('click', function(){
    $(this).parent('form').submit();
});

But all it seems to do is submit the form, which works, and does the job but it goes to the action to post it. Unlike other forms, it's not using the ajaxForm() request.

Plugin in discussion is http://jquery.malsup.com/form/#ajaxForm

share|improve this question

1 Answer

It appears to be very late, I've managed to resolve this quickly if anyone else has similar issues..

$('form.date-response input[type=checkbox]').live('click', function(){
    $(this).parent('form').ajaxForm().submit();
});

Hopefully this is good, and correctly. Please share if anyone has any other solutions.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.