Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Re: Dynamic menu help


Message #1 by "Srividhya" <srividhya1977@h...> on Wed, 2 Oct 2002 05:37:02
Thanks.Its working fine.
regards
Sri


>From: Gautam Khanna <gautamkhanna27@y...>
>Reply-To: "Pro_JavaServer_Pages" <pro_jsp@p...>
>To: "Pro_JavaServer_Pages" <pro_jsp@p...>
>Subject: [pro_jsp] Re: Dynamic menu help
>Date: Thu, 3 Oct 2002 02:06:14 -0700 (PDT)
>
>
>Hi Sri,
>
>use target attribute of the frame to do it...
>Best of luck
>
>regards
>Gaurav
>  SriVidhya Chandrasekaran wrote:
>
>I tried your way.
>Placed one combo in one page.And second combo in the second page.
>And in the 3rd page used a frameset to place these two pages.
>Also called the function in the onchange event of the first combo to pass
>the value to the second frame.
>
>
>So my onchange code will be like this:
>
>
>var vValue=document.frmLeft.elements("zipcode").value;
>
>now how to refresh the second frame?
>
>
>If i used window.open("second.jsp?variable="+value) its getting opened in a
>new page.
>So how should I pass the value to the second frame or page ?
>
>
>
> >From: Gautam Khanna
> >Reply-To: "Pro_JavaServer_Pages"
>
> >To: "Pro_JavaServer_Pages"
>
> >Subject: [pro_jsp] Re: Dynamic menu help
> >Date: Tue, 1 Oct 2002 21:57:04 -0700 (PDT)
> >
> >
> >Its implementation is upto...
> >well u can consider 2 options
> >either downloading the all data in an array {which would b time consuming
> >if the data is large} or in an xml file..
> >else
> >for the 2nd list box use frames to refresh & get it populated........
> >Hope this might give u a hint...
> >Regards
> >Gautam Khanna
> >gautamkhanna27@y...
> >
> > Srividhya wrote: Did you get any solution for this problem?If please let
> >me know.
> >Thanks in advance.
> >
> >srividhya
> > > Hello,
> > > Can any one help me out with this.I have to build dynamic menus,in the
> > > sense,i have 2 dropdowns which are populated with data in the
> >databse.Both
> > > are in the same .jsp page.So what i really want is when i select data 
>in
> >the
> > > first dropdown then only data corresponding to that data in the 
>databse
> > > should be visible.For example of state and country.if in first drop 
>down
> >we
> > > have countries and and second we have states , then only with 
>selection
> >of a
> > > particular country only states of that country in the database should 
>be
> > > visible in the second dropdown.
> > > this is prity urgent if some one can send me the code or method as to
> >how to
> > > this it would be great.
> > > Regards,
> > > Amit.J
> > >
> > >
> > Srividhya wrote:Did you get any solution for this problem?If please let
> >me know.
> >Thanks in advance.
> >
> >srividhya
> > > Hello,
> > > Can any one help me out with this.I have to build dynamic menus,in the
> > > sense,i have 2 dropdowns which are populated with data in the
> >databse.Both
> > > are in the same .jsp page.So what i really want is when i select data 
>in
> >the
> > > first dropdown then only data corresponding to that data in the 
>databse
> > > should be visible.For example of state and country.if in first drop 
>down
> >we
> > > have countries and and second we have states , then only with 
>selection
> >of a
> > > particular country only states of that country in the database should 
>be
> > > visible in the second dropdown.
> > > this is prity urgent if some one can send me the code or method as to
> >how to
> > > this it would be great.
> > > Regards,
> > > Amit.J
> > >
> > >
> >
> >
> >---------------------------------
> >Do you Yahoo!?
> >New DSL Internet Access from SBC & Yahoo!
> >
>
>
>
>
>_________________________________________________________________
>Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>
>
>---------------------------------
>Do you Yahoo!?
>New DSL Internet Access from SBC & Yahoo!
>




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


  Return to Index