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.
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.