how do I choose a random quota_id from a set?
Using Jamroom
Ken_Rich:...I had thought ID and class were related to the CSS not Javascript...
Are they more like names that serve as reference points to WHATEVER is coming into play (CSS, Javascript, PHP, smarty).
That's pretty much it, but php and smarty don't use them, they put them into the html for later use.
Both css and javascript use them to identify elements within the page. IDs and classes are a fast way of doing that, although you can use other attributes, or the structure of the html as well.
Identifying an element using selectors like id and class is key to both css and javascript, understand how to move around the document and everything else falls into place.