Jump to content

form in div help


MDanz

Recommended Posts

i put the style as display:none but the submit button is still appearing?? how do i get around this.

 

 <div id='$counter1' style='display:none;' >
<form enctype='multipart/form-data' action='get.php' method='post' name='form1'>
<input type='submit' name='webpage' value='Add Webpage'/>
<input type='hidden' name='pos' value='$pos' />
<input type='hidden' name='topic' value='$search' />
<input type='hidden' name='info' value='' />
<input type='hidden' name='title' value='' />
</form>
</div>

 

Link to comment
https://forums.phpfreaks.com/topic/200819-form-in-div-help/
Share on other sites

$string = "<div id='$counter1' style='display: none;' >
<form enctype='multipart/form-data' action='get.php' method='post' name='form1'>
<input type='submit' name='webpage' value='Add Webpage' style='display: none;'/>
<input type='hidden' name='pos' value='$pos' />
<input type='hidden' name='topic' value='$search' />
<input type='hidden' name='info' value='' />
<input type='hidden' name='title' value='' />
</form>
</div>";

James.

Link to comment
https://forums.phpfreaks.com/topic/200819-form-in-div-help/#findComment-1053712
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.