I have around ten html pages all have search tab ,only one page is dedicated to display the search result , from which ever page i enter search it directs to search page and displays output ,is their any better method to do this? I am using jquery on clientside and webservices written in c# on the server side and i am not using master pages .
+1
A:
if you want to display the result in the current html page then add a div like thath:
<div id="search-result"></div>
and do an ajax request for the search.html and display the returned string like that:
$("#search-result").html(resulting_string);
ITroubs
2010-10-05 08:49:45
thanks for the reply,my search page displays google map with markers and sidebar in it can i return this to the called page?
mahesh
2010-10-05 08:57:33
what do you mean by return this to the called page? you mean pass it to the page that does the search?
ITroubs
2010-10-05 09:01:40
ya pass the google map resultant div to the called page
mahesh
2010-10-05 10:29:16