• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Multiple dropdowns on page

 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
In my jsp application i am having two drop down lists (contract and devicename) when i selected contract name proper device name is loading in the select list of device name But in contract drop down list the selected contract is not visible its going to initial one.what can i make to do to get the selected one?
i am also keeping javascript function code:



regards,
rama
 
yekkala krishna
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

I have also added c:if statement as below to the above code.
But no changes i have seen.
could any body give suggestions.How i can do this?



regards,
rama
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
<c:if> is evaluated on the sever. If you want the change to be reflected as the result of a user action, it will have to be done with JavaScript.
 
yekkala krishna
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bear,

As you suggested i have added following java script to my application.It saying this error "Object doesn't support this property or method".



could you please anybody suggest what i need to do?
its little bit urgent.
Regards,
rama
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved to the JavaScript forum.

Also, please be sure to take the time to compose descriptive subjects for your posts. You will attract people who will can give you better and faster answers when your posts have good, descriptive subjects. For more information, please click this link ⇒ UseAMeaningfulSubjectLine.

Using a title such as "regarding jsp issue" isn't going to attract the attention of those who can best help you. Especially when it turns out to not even be a JSP issue!

I've changed the subject to something more appropriate for you.
 
yekkala krishna
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

i have rectified this error "Object doesn't support this property or method".But i am unable to make selected value in the list.
could any body help what script i need to write in the change select function.
i think problem is in change select function.

thanks,
rama
 
reply
    Bookmark Topic Watch Topic
  • New Topic