• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get value from innerHTML

 
Shailesh Phatak
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I have a checkbox which will be checked or unchecked based on whether the value is true or false.
I want to get the value of that checkbox i.e true or false Please help. here is my code

 
Robin John
Ranch Hand
Posts: 281
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Shailesh Phatak wrote:Hi guys,
I have a checkbox which will be checked or unchecked based on whether the value is true or false.
I want to get the value of that checkbox i.e true or false Please help. here is my code









This might help...

NOTE: Dont use keywords in your tag attribute values -> for example rename the id="checked" to id="checkId"
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!