• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

dropdown & javascript

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I have a jsp page and in the bottom of the page i have three dropdown list, 3rd one depends on 2nd. And 2nd dropdown depends on 1st one. Once I select 1st drop down, the page is refreshed and 2nd dropdown has new values. But when the page is refreshed, it stays at the begining of the page. So I have to scroll down everytime to select the 2nd dropdown and once i select the 2nd one, it is refreshed and again i have to scroll down for the 3rd one. Once I make the selection, is there a way the page should refresh and stay where the dropdown list are, instead of scrolling down. I using Javascript and in the javascript function i am calling struts action. Thanks a lot.
 
Friends help you move. Good friends help you move bodies. This tiny ad will help:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic