aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes select a value from dropdown list at the time of onloading the page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "select a value from dropdown list at the time of onloading the page" Watch "select a value from dropdown list at the time of onloading the page" New topic
Author

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

Ganeshkumar cheekati
Ranch Hand

Joined: Oct 13, 2008
Posts: 362
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...



SCJP5 and SCWCD1.5
Think Twice Act Wise...
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Please read this EaseUp

Eric
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: select a value from dropdown list at the time of onloading the page