Skip to content

Instantly share code, notes, and snippets.

@MarkPochert
Created June 3, 2011 08:04
Show Gist options
  • Save MarkPochert/1006033 to your computer and use it in GitHub Desktop.
Save MarkPochert/1006033 to your computer and use it in GitHub Desktop.
// Don't work
$( "#message_number_false" ).click(
function() {
$( "#call_back_text" ).show(100);
});
// Don't work
$( "#message_number_true" ).click(
function() {
$( "#call_back_text" ).hide(100);
});
// Work
$('.submittable').live('change', function() {
$(this).parents('form:first').submit();
return false;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment