This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Getting the div  values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Getting the div  values" Watch "Getting the div  values" New topic
Author

Getting the div values

jenny soft
Greenhorn

Joined: Dec 24, 2007
Posts: 10
Hi,
can i get div values from jsp to servlet.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 62139
    
  68

divs are not form elements and cannot be directly submitted. You'll need to use JavaScript to copy the contents of the div to a form element so that it can be submitted.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 62139
    
  68

"jenny soft", please check your private messages.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Getting the div values