In JavaScript, to get all the classes on a given element, you call element.className, which gives a string with space-separated classes, such as “class1 class2”. You can also set this property directly, such as element.className = “class3 class4”. The norm here is that classes are separated by a single space, with no whitespace [...]
About Me
My name is Trevor Creech.
I am a Computer Science Student at the University of Waterloo.Categories
-
Feeds
Tags
3d bands barbecues beatles blender broil king campolo christianity comment computers design dog emoticons facebook firefox games greasemonkey humour javascript lego linux openoffice playdough plugin pranketh quiz robotics scrabble senior spam stephen tango template tinymce translate university urt uw vista web word wordpress