This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes javascript 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 "javascript" Watch "javascript" New topic


Manoranjan Moharana

Joined: Aug 14, 2006
Posts: 1
what is the use of hidden variable in javascript?
what its functionality?
when i use hidden variable,after clicking on submitting button the hidden variable value pass with the destination page,but how can i retrive that value from that destination page, can you tell me?
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Not an EJB question. Please be a bit more careful where you post questions. Someone will move this shortly.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17271

Yep, I will move this to the Javascript forum for you.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63211

Also, please use meaningful subjects for your posts. "javascript" doesn't tell us anything about the nature of your question. Please read this for more information.

With regards to your question (which actually has very little to do with javascript), hidden elements in a form act just like text elements except that they are not displayed on the page. You would retrieve them in the same way that you would any other form element.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: javascript
It's not a secret anymore!