Solved

Refreshing or Reloading of Screen

Posted on 2007-11-19
5
798 Views
Last Modified: 2013-11-24
Hi all,
I am calling one jsp named admission.jsp. In admission.jsp, there is one textfield which has some data coming from database. When we mousehover on that textfield it shows the data to us which isin text field. Besides that textfield we have one button when we click on that button it calls another jsp which shows a textarea with update button. When user write some data in that textarea and click on update then it save that data in the DB. What i need to do is what ever user write in the textarea, i can fetch the initial 1st line of that text area and that line should be shown in that admission.jsp textfield. But this should be happend immediatly after user clicks on update button. Means the updation in textarea causes admission.jsp screen to be refreshed and comes up with new text int hat textfield from Database.
Can anyone suggest me how to refresh the previous screen in javascript on the condition of updating something on current screen??
Waiting for Reply.
Asif.
0
Comment
Question by:royalcyber
  • 3
5 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 20318169
0
 
LVL 7

Accepted Solution

by:
ALNMOO earned 250 total points
ID: 20318182
I think you need to use AJAX to do this.
0
 
LVL 17

Expert Comment

by:contactkarthi
ID: 20336299
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 20337935
@contactkarthi: And why would that be a proposed solution?
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 20794837
Can I please know why my first posted comment with links to examples

"Have a look at AJAX
http://www.google.com/search?q=ajax+jsp
For example DWR http://getahead.org/dwr"

was not accepted as an answer but

"I think you need to use AJAX to do this."

posted later was?

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question