This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes div is null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "div is null" Watch "div is null" New topic
Author

div is null

Guna sekar
Ranch Hand

Joined: May 18, 2010
Posts: 32
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

Joined: Nov 08, 2001
Posts: 15385
    
    6
If you want an answer, show some code.

Eric
 
Have you checked out Aspose?
 
subject: div is null
 
It's not a secret anymore!