View Single Post
  #1  
Old 01-24-2010, 07:38 AM
Quillink Quillink is offline
Member
 
Join Date: Dec 2008
Posts: 93
Credits: 15,727
Quillink
Default Answered | Radio lists: default selection?

I've been googling the topic for hours but I can't seem to get my radio list to have a default selection. Here's the section of the code, can someone show me how to have "Undisclosed" selected when the page loads?

Code:
Gender: 
<input type='radio' value='Male' name='gender'>Male &nbsp; 
<input type='radio' value='Female' name='gender'>Female &nbsp; 
<input type='radio'  value='Undisclosed' name='gender'>Undisclosed


Also does anyone know how to get this working? It's the refresh button for my CAPTCHA and I'm really not sure where to start:

Code:
<a href='#' onclick='document.getElementById('captcha').src = '/securimage/securimage_show.php?' + Math.random(); return false'><img border='0' src='secureimage/images/refresh.gif'></a>

Thanks in advance,
- Quillink
Reply With Quote