Hi iam javascript code to clear the textboxs,dropdowns,racalendars and i am calling javascript
function in asp.net page load event and also for first time page loading whn i click clear button its
clearing all the values in th controls after postback occurs its no clearing the controls values.Thanks
ex
---
function ClearSearch() {
document.getElementById(idPrefix + 'noDataFound').innerHTML = "";
}
error that i am facing
----------------------
0x800a138f - JavaScript runtime error: Unable to set property 'innerHTML' of
undefined or null reference

Sourabh SomaniRank #37 · 35.5K reputationPosted Nov 17, 2015, 1:20 AM EST
AshokRank #2,671 · 521 reputationPosted Nov 17, 2015, 1:38 AM EST
Sourabh SomaniRank #37 · 35.5K reputationPosted Nov 17, 2015, 1:45 AM EST
innerHTML
AshokRank #2,671 · 521 reputationPosted Nov 17, 2015, 1:55 AM EST
Sourabh SomaniRank #37 · 35.5K reputationPosted Nov 17, 2015, 1:55 AM EST
AshokRank #2,671 · 521 reputationPosted Nov 17, 2015, 3:02 AM EST
Sourabh SomaniRank #37 · 35.5K reputationPosted Nov 17, 2015, 3:08 AM EST