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)); Quote Link to comment 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? Quote Link to comment 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.