ott
05-02-2006, 07:58 PM
Anybody please come up with something faster and better than this:
if ((" " +e.getAttribute("className").indexOf("make_sortable") != -1)) { //then do something }
see i want it to check if an attributes classname has make_sortable in it. Thats for potential use of multiple classnames like class="redbox boldLetters".
I want to find a once and for all solution...thanks
if ((" " +e.getAttribute("className").indexOf("make_sortable") != -1)) { //then do something }
see i want it to check if an attributes classname has make_sortable in it. Thats for potential use of multiple classnames like class="redbox boldLetters".
I want to find a once and for all solution...thanks