Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

select a value from dropdown list at the time of onloading the page

 
Ganeshkumar cheekati
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my html and javascript code.....


If user change the selection from dropdown list then only function can be executed.. but my requirement is at the time of loading this page default value from list has to be submitted to my jsp page.......?
Can any one give me solution asap? its so urgent....
Thanks in advance...


 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read this EaseUp

Eric
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You want to submit the form on page load? why in the world is the server serving up the page to begin with if that is the case?

Sounds like you want to use window.onload

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic