Tip: Click lines to highlight, hold ctrl/cmd to multi-select

http://codedumper.com/ejece (28-Apr @ 12:35)

Get the top level form, say if your input element is in a fieldset.

remy

Syntax Highlighted Code

  1. $(this).parents('form:first');

Plain Code

$(this).parents('form:first');

Codedump Run

Permalink: http://codedumper.com/ejece