dgnzcn Posted December 14, 2009 Share Posted December 14, 2009 hi to everbody. i have a search submit form and button like this : <form id="f1" name="title" method="post" action="index.php?come=results"><td><div style="border-width:0px 0px 0px 1px;border-color:#aaaaaa;border-style:solid;font-size:1px;width:8px;height:31px;"></div> <td style="padding:0px 5px 0px 0px;"><input type="text" name="title" id="title "style"font-family:arial;font-size:12px;width:175px;border-style:solid;border-width:1px;border-color:#ffffff;border-top-color:#aca899;border-left-color:#aca899;" value=""></td> <td style="padding:0px 5px 0px 0px;font-family:arial;font-size:10px;color:#444444"><label><input name="Search" type="submit" id="Search" value="Search" /> </label></td></form> and how to replace search button with link? ( with Search text ) thanks for your replys. Quote Link to comment https://forums.phpfreaks.com/topic/185060-how-to-replace-search-button-with-link/ Share on other sites More sharing options...
Buddski Posted December 14, 2009 Share Posted December 14, 2009 Do you mean text as a submit button? <a href="javascript:document.getElementById('f1').submit()">Search</a> Quote Link to comment https://forums.phpfreaks.com/topic/185060-how-to-replace-search-button-with-link/#findComment-976856 Share on other sites More sharing options...
dgnzcn Posted December 14, 2009 Author Share Posted December 14, 2009 Do you mean text as a submit button? <a href="javascript:document.getElementById('f1').submit()">Search</a> just is it ? this is very simple, but i don't know. thanks. Quote Link to comment https://forums.phpfreaks.com/topic/185060-how-to-replace-search-button-with-link/#findComment-976879 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.