This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes help with eval function. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "help with eval function." Watch "help with eval function." New topic
Author

help with eval function.

Sandeep Sundaram
Greenhorn

Joined: Mar 22, 2005
Posts: 9
<form name="ww">
<input type="hidden" name="kk.ss.ee" value="abcd">
</form>

How will i use eval function on this input parameter 'kk.ss.ee' to get the value 'abcd'?
I am generating the hidden parameters dynamically and the client requirement has that the names should be dot seperated.

Tried escaping all occurrences '.' but that did not work.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
document.forms[0].elements["elementName"].value

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help with eval function.
 
Similar Threads
Iterating a JSON in jQuery
paypal problem
How do i get the value of "flagX"
escape single quote in input type=hidden
Check All button for all spring check boxes array