• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to avoid hedden field value displaying

 
rajkumar sound
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a JSP file. which is having one hidden field.

<input type="hidden" name="name1" id="name1" value="some value"/>

when the JSP page loaded it is displaying the value of the hidden field

some value.

could you tell me how to avoid this?
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At what point does the value get shown? The hidden field should not be visible on any browser. If you do see the value in the Form page then I would guess you have some poorly formed HTML. Look at the HTML source code that the browser sees and look to see if there are extraneous quotes and/or brackets someplace.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65516
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"rajkumar sound", please check your private messages for an important administrative matter. Again.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!