jQuery in Action, 2nd edition*
The moose likes HTML, CSS and JavaScript and the fly likes How to get the Values which are inside the DIV tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to get the Values which are inside the DIV tag" Watch "How to get the Values which are inside the DIV tag" New topic
Author

How to get the Values which are inside the DIV tag

Mohammed Yousuff
Ranch Hand

Joined: Apr 18, 2006
Posts: 45
Hi, I want to know how to get values which are enclosed in a DIV .when I tried with the request object in a Servlet. I am not getting any values wh9ich are inside the Div tags. So please let me know the Way where I can get the Values which are inside the Dive tags.


<div id='eAP_txtEmail' style='position:absolute; top:267; left:485; z-index:57' >
<input type='text' id='AP_txtEmail' value='' tabindex='2' style='width:292;color:000000;font-family:MS Sans Serif;font-size:10px;text-align:Left' maxlength='250' >
</div>


How can I get the Values???


Very urgent Please


Regards<br /> <br />Mohammed Yousuff M N <br /> <br />Try NOT to Become a man of SUCCESS, BUT Try to Become a man of VALUE..
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You need a form tag.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61084
    
  66

And to give a name to each control element.

This has nothing to do with the <div>.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to get the Values which are inside the DIV tag