i have the following function
function clearTxtRadioBtn(txtBoxRbtn)
{
eval("document." + txtBoxRbtn + ".value = "";")
}
called from
onClick="clearTxtRadioBtn('form.txt_box')" in a radio button
but I keep getting the following error message when the page loads
error expected ')'
I have kept the function intact and commented out the code in the function and everything works fine but I dont see where a ')' should be.
Thank you in advance.
function clearTxtRadioBtn(txtBoxRbtn)
{
eval("document." + txtBoxRbtn + ".value = "";")
}
called from
onClick="clearTxtRadioBtn('form.txt_box')" in a radio button
but I keep getting the following error message when the page loads
error expected ')'
I have kept the function intact and commented out the code in the function and everything works fine but I dont see where a ')' should be.
Thank you in advance.