Click here to Skip to main content
12,559,389 members (46,775 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET Javascript
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 | Mobile
Web01 | 2.8.161026.1 | Last Updated 20 Jan 2013
Copyright © CodeProject, 1999-2016
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