====== Toggle div by button with jquery UI ====== * This example requires jquery UI plugin. * JavaScript code finds all element with given prefix and add function runEffect which toggle element with id that is second part of element with prefix. * Example: prefix="help", element with id="help-test" gets onclick function which toggle element with id="test". ===== Code ===== * javascript code * html code

Toggle

Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.

===== Resources ===== * [[http://jqueryui.com/]]