MDanz Posted May 5, 2010 Share Posted May 5, 2010 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> Quote Link to comment https://forums.phpfreaks.com/topic/200819-form-in-div-help/ Share on other sites More sharing options...
Muddy_Funster Posted May 5, 2010 Share Posted May 5, 2010 try adding type="hidden" in the <form> tag Quote Link to comment https://forums.phpfreaks.com/topic/200819-form-in-div-help/#findComment-1053706 Share on other sites More sharing options...
jamesxg1 Posted May 5, 2010 Share Posted May 5, 2010 $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. Quote Link to comment https://forums.phpfreaks.com/topic/200819-form-in-div-help/#findComment-1053712 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.