Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var searchInput = $("#search .input_text[type='text']");
- while(searchInput.get(0).tagName != "FORM") {
- searchInput = searchInput.parent();
- }
- searchInput.attr("class", "someclass");
Advertisement
Add Comment
Please, Sign In to add comment