Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
$(element).find('input[type=radio], input[type=checkbox]').each(function()
var tIndexChangeHandler = function()
var selected_element = $(this);
var tab = $(selected_element).closest('div[data-role=page]');
var idx = Number($(tab).attr('t_index'));
if (obj.valid === false)
$('#tabs li:eq('+idx+')').removeClass('verified');
$(this).unbind('change', tIndexChangeHandler);
$(this).bind('change', tIndexChangeHandler);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.