Translate

> > ASP.NET Javascript combobox value checking

ASP.NET Javascript combobox value checking

Posted on Monday, August 27, 2012 | No Comments

 var shopNmae = document.getElementById('<%=ddlShopName.ClientID %>');
           
            if(shopNmae.options[shopNmae.selectedIndex].text == 'Select')
            {
               alert('Select Shop Name');
               return;
            }

Leave a Reply

Powered by Blogger.