I Need A Code To remove The Attribute (( Disabled )) From Submit Button

When All Fields Are Filled Out

This is My Code

<form name='vbform' method="post" action="ins_advs.php">

<fieldset>
<legend class='master'>Title</legend>
Name <input class="regform2" type="text" name="title" size="40" maxlength="15" />
</fieldset>

<fieldset>
<legend class='master'>Details</legend>
<textarea class="textareades" cols="86" rows="3" maxlength="50" name="full"></textarea>
</fieldset>

<fieldset>
<legend class='master'>Full</legend>
<textarea class="textareades" cols="86" rows="10" name="details"></textarea>
</fieldset>

<fieldset>
<legend class='master'>Contact</legend>

Cell <input class='regform2' type='text' name='x' size='40' maxlength='100' 

/><br/><br/>
Phone <input class='regform2' type='text' name='x' size='40' maxlength='100' 

/><br/><br/>
Fax <input class='regform2' type='text' name='x' size='40' maxlength='100' 

/><br/><br/>
Email <input class='regform2' type='text' name='x' size='40' maxlength='100' />

</fieldset>

<fieldset>
<legend class='master'>Section</legend>

<?php
$sql = mysql_query ("SELECT id,name FROM ads_cat order by id desc") or die ("error");
while($cat=mysql_fetch_array($sql))
{
echo "<input type='radio' name='browser' value='$cat[id]' />$cat[name]<br/>";
}

?>

</fieldset>

<input class="submitad" type="submit" id="send" [COLOR="Red"]disabled[/COLOR] value="Add" />

</form>

You need javascript code to do that. See this thread for a hint.

You need javascript code to do that. See this thread for a hint.

Thanks I Will Check And Post Back The Results

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.