Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

div is null

 
Guna sekar
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I m creating div dynamically. In EDIT mode, if the value is in DB, then a field in the section will be checked and based on that next section will b eavailable. My problem is when i uncheck the checked on in EDIT mode, i m setting div.innerHTML=''. But when i check the same again, i m getting error like div is null but the div is present.

Anyone help me in this?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want an answer, show some code.

Eric
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic