~n[EO]n~ Posted November 16, 2007 Share Posted November 16, 2007 Hi, I got a search page and the form action is in searchresult.php. What I want is when i press the submit button instead of moving to that searchresult.php page. I want search in the background and show a message (popup) No result found if there are no results and Redirecting... if the search is found. Is there any way to do this.. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/77580-help-regarding-search/ Share on other sites More sharing options...
PHP_PhREEEk Posted November 16, 2007 Share Posted November 16, 2007 Javascript popups are super easy. New browser popups are easy as well... but... be careful... 9 outta 10 surfers have popups disabled by now... not a scientifically accurate ratio, but you get the picture. PhREEEk Quote Link to comment https://forums.phpfreaks.com/topic/77580-help-regarding-search/#findComment-392693 Share on other sites More sharing options...
~n[EO]n~ Posted November 16, 2007 Author Share Posted November 16, 2007 Thanks for you reply but how to do that i don't want my page to go to searchresult.php page directly, instead show a message like Search loading.......... (it can be on a div) Any idea ??? How to make this search_result.php page work on the background. <form id="frm" name="frm" method="post" action="search_result.php"> Quote Link to comment https://forums.phpfreaks.com/topic/77580-help-regarding-search/#findComment-392698 Share on other sites More sharing options...
brendan6 Posted November 16, 2007 Share Posted November 16, 2007 hmm...you would have to have a inlaid frame in a div with an absolute value..then set the forms action target to that frame and then set the div invisible (? possible) and have the button click to set the div visible and submit the form. Quote Link to comment https://forums.phpfreaks.com/topic/77580-help-regarding-search/#findComment-392704 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.