count checkbox, radio and input....
View Single Post
04-22-2009, 06:29 PM
Join Date: Sep 2007
Like said by Salathe, you need to execute when your dom tree is fully loaded (this is called "domready"). Most frameworks includes support for the domready event, so you can bind a new domready even and execute your code then.
View Public Profile
Send a private message to Kalle
Visit Kalle's homepage!
Find More Posts by Kalle