Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Broken jQuery code, need help. Reply To: Broken jQuery code, need help.

#175550
Chris Lowles
Participant
$.fn.textnet = function(tn, tn1, tn2, tn3) {
        if (tn == "toggleAttr") {
                $(this).attr(tn1, tn2 ? tn1, tn2 : tn1, tn3);
        }
};