document.getElementById("budgetcategoryform:active").checked should also work.
Both of above expressions return boolean value.
You can use  index also in case you want to. th element refers to first button and th element refers to second button.
P.S. Jolie, if you can format your second post, the readability of the page can be improved. Currently page is bit stretched out. [ September 13, 2005: Message edited by: Varun Khanna ]
Joined: May 08, 2005
hey, thanks.. it works...but somehow when i trid the one with getElementById, it doesn't work...
i post it in the "code" tag....
[ September 14, 2005: Message edited by: Jolie Lee ] [ September 14, 2005: Message edited by: Jolie Lee ]
Joined: Dec 02, 2009
Awesome man!!! my problem is also solved..
Joined: Jul 09, 2008
Joined: Jan 10, 2011
Varun Khanna wrote:I have never used "value" option but in order to know which button is checked, you can use following option