Skip to content

Instantly share code, notes, and snippets.

@codeimpossible
Created April 16, 2013 17:07
Show Gist options
  • Save codeimpossible/5397646 to your computer and use it in GitHub Desktop.
Save codeimpossible/5397646 to your computer and use it in GitHub Desktop.
(function($) {
$('.validation_error').each(function( index ) {
var $item = $(this);
var $control = $item.closest('tr').find('.EditingFormControlNestedControl').first();
$item.attr('id', control.id);
this.id = control.id;
});
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment