Solved

Refreshing or Reloading of Screen

Posted on 2007-11-19
5
789 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
Comment Utility
0
 
LVL 7

Accepted Solution

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

Expert Comment

by:contactkarthi
Comment Utility
0
 
LVL 75

Expert Comment

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

Expert Comment

by:Michel Plungjan
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now