CodePen

HTML

            
              <form id='myForm'>
<input name="userId" type="radio" value="random" checked="checked" />Random User ID<br />
<input name="userId" type="radio" value="own" />My own User ID <input name="" type="text" id="ownUserId" />
</form>
            
          
!
via HTML Inspector

CSS

            
              
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              $('#ownUserId').click(function()
	{
		$('input[value=random]').removeAttr('checked','checked');
		$('input[value=own]').attr('checked','checked');
	});
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................