04/05/2014 by Nitesh

How To Select Text and Value from Drop Down List in jQuery

Friends, This post is a very simple tip for getting the selected text and selected value from a drop down list using jQuery. A very common usage and we use it in almost every project that we do. To start with, let us consider we have a drop-down list with ID “numbers”. The DOM structure…

Continue Reading »

29/04/2014 by Nitesh

How to Create Single Level Menu Dynamically Using C# in ASP.Net

Friends, This is Part 3 of the series “Creating Menus”. This post will explain how to create a single level menu dynamically using C# in Asp.Net. You can read the other 2 posts in this series with the links mentioned below – Part 2 Part 1 In this post we will create a dynamic single-level…

Continue Reading »

23/04/2014 by Nitesh

Blog Post Series: Creating Menus – Simple to Complex

Dear Friends, As the title says, today I am going to start a blog posts series where we will be learning to create menus. We will start with creating simple menus and move to rather complex and complicated menus. I hope after going through the series you find yourself comfortable while creating any type of…

Continue Reading »

24/08/2012 by Nitesh

Simple Date validation using Regex in Javascript

Many of us find difficulties while validating the date field in JavaScript. This is a simple example where I will explain you the basics of validating a date field using JavaScript. So, follow the steps below and get date validated on your form in few minutes: In your JavaScript section of the HTML page, define…

Continue Reading »

22/08/2012 by Nitesh

How to add a piece of Javascript just before the end of Form Tag in ASP.Net

In ASP.Net, we often require to add some piece of Javascript from Code-behind that should get added towards the end of <form> tag and not in the header of the form. For this, we need to use RegisterStartupScript function. The syntax to use the function is as below: Page.RegisterStartupScript(this.GetType(),”key_for_script”, “alert(‘Hey! This gets alerted after the…

Continue Reading »

1 4 5 6 7