View Full Version : problem with radio button and external script

06-07-2010, 08:51 PM
I have the following code:

<form id="registration" action="/cgi-bin/registration.cgi" method="POST" onsubmit="return control()">
<legend>Fill up this module</legend>
Private <input id="private" type="radio" name="type" value="private" onclick="return addPrivate()"/><br/>
Community/Organization <input id="organization" type="radio" name="type" onclick="alert('Organization')"/><br/>

and the following script:

addPrivate() {

but alert windows doesn't not appear.
Where is the problem?

06-07-2010, 09:38 PM
I missed function ahead addPrivate

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum