jquery Programming Glossary: li.find
slideDown jumps abruptly at the end http://stackoverflow.com/questions/11194402/slidedown-jumps-abruptly-at-the-end JS document .ready function '#group subnav ul li a' .on 'click' function e e.preventDefault var li this .closest 'li' li.find 'ul' .slideToggle '' function li.toggleClass 'current' .end .siblings .find 'ul' .slideUp '' function li.siblings .removeClass..
Convert UL to SELECT w/OPTGROUPs http://stackoverflow.com/questions/6797684/convert-ul-to-select-w-optgroups Something simple solution for this var markUp select id 'sitemap' li a #sitemap li .each function li this if li.find li .length markUp.push optgroup label ' li.find a .text ' li.find li .each function a this .find a markUp.push option value.. markUp select id 'sitemap' li a #sitemap li .each function li this if li.find li .length markUp.push optgroup label ' li.find a .text ' li.find li .each function a this .find a markUp.push option value ' a.attr href ' a.text option markUp.push optgroup.. 'sitemap' li a #sitemap li .each function li this if li.find li .length markUp.push optgroup label ' li.find a .text ' li.find li .each function a this .find a markUp.push option value ' a.attr href ' a.text option markUp.push optgroup else a li.find..
jquery selectable: How to make items selected at 1st load http://stackoverflow.com/questions/861589/jquery-selectable-how-to-make-items-selected-at-1st-load .find 'li.ui selected' now find the div with our class within this li and grab its inner text var job_type li.find 'div.Profile_Interests_Card_ItemName' .text set the hidden field '#job_type' .val job_type Now you have a hidden form field..
|