justinchrono Posted April 6, 2010 Share Posted April 6, 2010 hello. my website has a search bar for photos, and i changed the html around on the site, so now that is in a new folder. how can i change the links that the search bar goes to...i need it to take a part of the url, the directory, out. thanks. Link to comment https://forums.phpfreaks.com/topic/197749-help-with-search-bar/ Share on other sites More sharing options...
isedeasy Posted April 6, 2010 Share Posted April 6, 2010 find the form tag and look at the action value. Link to comment https://forums.phpfreaks.com/topic/197749-help-with-search-bar/#findComment-1037763 Share on other sites More sharing options...
justinchrono Posted April 6, 2010 Author Share Posted April 6, 2010 hmm and what would i do with that? im not sure where to find the action tag or if mine has one, can u help please? it looks like this... <form><div id="inputbox"><input width="40" class="formbox" name="k" value="enter search term" onfocus="this.value='';"></input> <input type="image" src="./i/search-arrow.gif" alt="go"></input></div></form> Link to comment https://forums.phpfreaks.com/topic/197749-help-with-search-bar/#findComment-1037773 Share on other sites More sharing options...
haku Posted April 7, 2010 Share Posted April 7, 2010 It looks like whoever made the site set up the form to submit using javascript (which is really sloppy), since there is no action in your form tag. Link to comment https://forums.phpfreaks.com/topic/197749-help-with-search-bar/#findComment-1038106 Share on other sites More sharing options...
justinchrono Posted April 13, 2010 Author Share Posted April 13, 2010 ohhh so any suggestions? Link to comment https://forums.phpfreaks.com/topic/197749-help-with-search-bar/#findComment-1041053 Share on other sites More sharing options...
Ken2k7 Posted April 13, 2010 Share Posted April 13, 2010 Uh... do you need everything to be explicitly stated? haku hinted that you should look up the JavaScript function and find where it submits to. =] Link to comment https://forums.phpfreaks.com/topic/197749-help-with-search-bar/#findComment-1041149 Share on other sites More sharing options...
justinchrono Posted April 13, 2010 Author Share Posted April 13, 2010 ok, i dont know much about coding. im not sure how i would, look up the function. or find where it submits to... Link to comment https://forums.phpfreaks.com/topic/197749-help-with-search-bar/#findComment-1041179 Share on other sites More sharing options...
seventheyejosh Posted April 13, 2010 Share Posted April 13, 2010 Do you have the url? Link to comment https://forums.phpfreaks.com/topic/197749-help-with-search-bar/#findComment-1041254 Share on other sites More sharing options...
justinchrono Posted April 15, 2010 Author Share Posted April 15, 2010 http://www.panopt.com/ms.php and all the other artist url's Link to comment https://forums.phpfreaks.com/topic/197749-help-with-search-bar/#findComment-1042610 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.