Ashok

Ashok

  • NA
  • 507
  • 80.8k

javascript

Nov 17 2015 6:15 AM
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

Answers (7)