• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hidden fields

 
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
Pie
Posts: 64959
86
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().
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic