Javascript in a HTML tag.

admin

Administrator
Staff member
Hi Guys and Gals,

I'm new here so forgive me if this is a bit of an eazy question for all you web gurus. :o

Ok, the problem I have is using the result of a javascript function to determine whether a radio button should be checked.

<input type='radio' name='answer1' value='http://www.webdeveloper.com/forum/archive/index.php/radioQ1A2' javascipt:if(check_user()=='checked')document.write('checked');/>

It seems that my javascript function just isn't getting evaluated.

Thanks for any help you can give.
 
Back
Top