TheFilmGod Posted June 7, 2008 Share Posted June 7, 2008 <div id="search_button"> <button class="search" type="submit"><span>Search</span></button> </div> <input id="search" type="text" /> I didn't add the <form> tags yet. But when I do and put this live on a server, will it create problems? <button>.... = <input type="submit" /> As you can see, the submit button goes before the actual text field. Will browsers have a problem sending the values out because of this? Link to comment https://forums.phpfreaks.com/topic/109149-submit-before-text-field/ Share on other sites More sharing options...
xtopolis Posted June 12, 2008 Share Posted June 12, 2008 No. As long as the submit button is inside the <form></form> tags, it can be ahead of any fields afaik. Link to comment https://forums.phpfreaks.com/topic/109149-submit-before-text-field/#findComment-564210 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.