"Searching...." message after search button is pressed


I have a site (Spring,Hibernate,JSP,JSTL,sitemesh) which users enter search keys and press search. I would like the page to show a message saying "Searching..." until the results are returned. Any ideas how I could achieve this? I don't want to use frames.


Thanks.
Anupama_2005Asked:
Who is Participating?
 
fargoCommented:
this link may help u
http://www.experts-exchange.com/Web/Web_Languages/JSP/Q_21791432.html

check the comments from el_dios
0
 
radarshCommented:
Hi Anupama_2005,

Alternately, you can simply change the page content using JavaScript.

<form .... .... onsubmit="document.getElementById('status').innerHTML='Searching...'">

<div id="status">
</div>

</form>

________
radarsh
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.