• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hidden fields  RSS feed

 
Krish Khan
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey All,

I need to understand with hidden fields.

I am assigning hidden field


I have written set and get methods in form.

I have set its value in the action class in default mode which is it gets loaded initially. Now when i press a button its should check this value so I am trying to call hidden field value

I am getting null value.. please help me.
 
Eswar Nec
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Get hidden field value using formName.


and script


 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It has nothing at all to do with the fact the field is hidden. Use modern addressing mechanisms such as document.getElementById().
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!