Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to show and hide textbox on click of dropdown using javascript in asp.net

Tags: javascript
Introduction: Javascript is used for client side scripting

Code on Desgin page of Asp

                             onchange="if(this.value!='Other'){ document.getElementById('divothercountry').style.visbility='hidden'; document.getElementById('divothercountry').style.display='none'; document.getElementById('divothercountry').style.visbility='hidden'; document.getElementById('divothercountry').style.display='none'; } else { document.getElementById('divothercountry').style.visbility='visible'; document.getElementById('divothercountry').style.display='block'; document.getElementById('divothercountry').style.visbility='visible'; document.getElementById('divothercountry').style.display='block'; }"
                            height="22px">
                       


This post first appeared on Pivot In SQL Server, please read the originial post: here

Share the post

How to show and hide textbox on click of dropdown using javascript in asp.net

×

Subscribe to Pivot In Sql Server

Get updates delivered right to your inbox!

Thank you for your subscription

×