Question : Use of PRINT statement

Working for many years with Sybase I was always told to avoid the use of PRINT statements.  I'm just wondering if that is in fact correct.  In SqlServer, should the PRINT statement be avoided, in scripts or in stored procedures?

Answer : Use of PRINT statement

Hi,

Very simple.

Let's assume that you just want to show the div1 and not div2 and div3. Similarly for the rest of the scenarios.

                document.getElementById("div1").style.display = 'block';
                document.getElementById("div2").style.display = 'none';
                document.getElementById("div3").style.display = 'none';

Thanks
David
Random Solutions  
 
programming4us programming4us