The scenario is a … Exam Question, wich has 4 alternatives. After click on
an alternative it automatically saves/updates(only happens if its already
checked)
If you just want to save the state of that radio button, why are you
returning anything to the browser at all?
I’m not just only saving the state in order to make the submit after I finish the entire exam.
When I click on letter B (for example) in my Answer table that question got “B”
I have to return this because they may change their answers ( and that might be my problem and I’m really considering hide that div)
And even if you wanted to refresh the page content from that partial,
if it’s rendering twice you have a targeting problem in your JS, like
you’re adding the form to the DOM instead of replacing the original,
or something.
Regardless, the right thing should happen even with multiple clicks
in a short time period (so trying to prevent that is pointless, IMO).
Can you come up with a simple test case that demonstrates this
problem?
–
I’m not sure what you mean by simple test
but lets say someone just click that radio 2 times quickly (not that he/she meant to do that)
and suddendly it appears another set of alternatives.
As you mention, try to prevent multiple requests may be not the problem (or maybe not here) and I just tried to do this
$(‘#edit_response_set_’+t).submit();
$(“#edit_response_set_”+t).slideUp(300).fadeIn(400);
It’s just hiding and showing the form… and I think is the easy solution I can get
Anyway, thanks for your responses… hope you understood what I tried to do 
Javier