unemployment Posted February 22, 2011 Share Posted February 22, 2011 How do I add classes to each row using the addClass() function. row.appendChild(document.createTextNode(info[1].display_name)); row.appendChild(document.createTextNode(info[1].account_type)); Link to comment https://forums.phpfreaks.com/topic/228459-addclass/ Share on other sites More sharing options...
requinix Posted February 22, 2011 Share Posted February 22, 2011 Are you talking about CSS classes? Which addClass() function? Have you seen the .className property? Link to comment https://forums.phpfreaks.com/topic/228459-addclass/#findComment-1178032 Share on other sites More sharing options...
haku Posted February 22, 2011 Share Posted February 22, 2011 addClass() is a jQuery function. Are you using jQuery? Link to comment https://forums.phpfreaks.com/topic/228459-addclass/#findComment-1178164 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.