Click here to Skip to main content
13,451,047 members (50,208 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi I have my table (HTML) and section in want to clear it by clicking a Button by using Java script.By I am getting The Above Error : (
Microsoft JScript runtime error: (Unable to get value of the property 'style': object is null or undefined)

function ClearALLValues() {
                        var tabDestination = document.getElementById('<%=tabDestination.ClientID%>');
   = 'none';
            var tblSections = document.getElementById('<%=tblSections.ClientID%>');
   = 'none';
            var lblSections = document.getElementById('<%=lblSections.ClientID%>');
   = 'none';

Posted 19-Jan-13 2:06am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04-2016 | 2.8.180318.3 | Last Updated 20 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100