Hi
You can get the jsp to call itself with a different parameter based on the
contents of the workid field. all you have to do is set the field to point
to a javascript function which will recall the jsp with the new value and
populate the other fields based on the database results.
example javascript function:-
function getNewPage(newPageParam){
location.href = "page.jsp?param=" + newPageParam;
// (or parent.[targetFrame].location.href = "page.jsp?param=" +
newPageParam;)
}
Hope this is what you require and helps :-)
----- Original Message -----
From: "Pradeep Roy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 27, 2000 12:35 PM
Subject: Please suggest... JSP & TextArea ..
> Hi All
>
> I have a queries as follows:
> I have a text area ( workid) which gets populated & there are other text
> areas( like jobs , cost code) which also gets populated on the basis of
> the selected option of the first test area( workid) as soon as I open the
> page.
>
> I have retrieved the datas from the database while opening the page
>
> Now if someone selects a different workid in the first text area , I want
> the remaining text area to get populated with new values which will be
> fetched from the database on the basis of the new workid value & there is
> where I am running out of ideas.
>
> Any suggestion ( if possible with CODE) will be highly appreciated.
>
> I thanked to all to of you who had suggested me in my preivious queries.
>
> Thanks & Regards
> Pradeep
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets