C# | ASP.net | jQuery | Javascript | linq

  • Facebook
  • RSS

Assign value to span - jquery

By  Avinash | In jQuery
In this post we will see set a value to span tag using JQuer. To change value of span we can access span tag directly like $('span') and then using its .html() method we can assign some text to it. Example...
Read More
5:35:00 PM
0

Set selected option by text of dropdownlist

By  Avinash | In jQuery dropdown
In this post we will see how to set selected option by text to dropdownlist. In web application we need to set dropdownlist value at client side. By using option property of dropdown list we will check if dropdown contains text...
Read More
10:11:00 PM
2

Set value to textarea - jQuery

By  Avinash | In jQuery
In this post we will see how to set value to textarea in jQuery. To assign value to textarea in jquery we can use .val() method of textarea. In example we will take value from input testbox and assign it to textarea. ...
Read More
8:55:00 PM
0

Regex for email validation JavaScript

By  Avinash | In Javascript , validate email
In this post we will see how to validate email format in Javascript using regular expression. We can use regular expression (/^([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)$/i) to validate the email address in javascript.Example of email validation using regex...
Read More
10:39:00 PM
0

Validate email format - RegularExpressionValidator

By  Avinash | In csharp , validate email
In asp.net in order to validate email address format we can use RegularExpressionValidator. We will see how to use RegularExpressionValidator to validate the email address format.For that we need to specify the Regular expression or regex in ValidationExpression...
Read More
9:53:00 PM
0

Remove special characters - jQuery

By  Avinash | In jQuery
In this post we will see how to remove special characters like !,@,$,*,^ ...etc. from the string. For that we need to specify the special characters in regular expressions. Then by passing specified regular expression to .replace method in jquery and...
Read More
1:14:00 PM
0

c# regex for email address

By  Avinash | In C# , csharp , validate email
In c# while dealing with email we need to validate email address. In order to validate email address we just check whether the email address format is correct or not. In C# we can use System.Text.RegularExpressions namesapce to match the email address...
Read More
10:22:00 PM
2

.parent() - Get the parent of element jQuery

By  Avinash
In web applications while working with clientside we may need to get parent element of elected element. jQuery provides function .parent() that we can use to easily get parent of the element. Here we will see example where we have link inside div and...
Read More
8:51:00 PM
0

Remove css style dynamically in jquery

By  Avinash | In jQuery
Here we will see how to remove css style of the element in jquery. In web applications we need to remove css style dynamically to give user friendly ui effects and for that we can use .removeClass() function in jquery. Here we will see example of div...
Read More
11:59:00 PM
0

Add css style dynamically in jquery

By  Avinash | In jQuery
In this post we will see how to add css style to element in jquery. In web applications we need to add css style dynamically to give user friendly ui effects and for that we can use .addClass() function in jquery. Here we will see example of div in...
Read More
11:37:00 PM
0
Newer Posts Older Posts Home
  • Home
  • jQuery
  • C#
  • ASP.Net
  • Linq

Search

Popular Posts

  • Detect if JQuery dialog is open
    when using a JQuery dialog, in some cases we neeed to check if dialog is open or not. In below example we will see how do to detect if a JQu...
  • C# interview questions and answers
    C# aka. "C sharp" is a programming language runs on the .NET Framework and used for building a variety of applications. C# is typ...
  • embed resources like .js, .css or images in c#
    In this post we will learn how to embed the resources like javascript file, images, .css files in class libraries. When creating custom con...
  • Set dropdown text selected from textbox value
    In some cases we need to set dropdown list items exact text by matching the value entered in textbox. For that purpose we can use .keyup eve...
  • c# regex for email address
    In c# while dealing with email we need to validate email address. In order to validate email address we just check whether the email address...
  • jQuery templates
    jQuery templates is a useful plugin developed by Microsofts's ASP.NET team in collaboration with jquery open source team. Templates help...
  • Dynamic in C# 4.0
    Dynamic type is introduced C# 4.0. As its name specifies type of the defined variable is decided dynamically at runtime. At compile time the...
  • C# convert array to list
    In this post we will se how to convert array to list. We need to convert array object to generic list many times in C# programming. Converti...
  • Tuple in C# 4.0
    Tuple is a new class introduced in C# 4.0. Tuple basically provides way to group the items of different data types. A static Tuple class pro...
  • Lazy loading C#. Lazy initialization.
    C# 4.0 introduced new class Lazy which provided for Lazy initialization. Lazy instantiation here means object is not created until it is ge...

Recent Posts

Categories

  • asp.net
  • asp.net checkbox
  • asp.net checkboxlist
  • asp.net gridview
  • blogger tricks
  • blogspot tricks
  • C#
  • C# array
  • C# DateTime
  • C# list
  • C# Strings
  • csharp
  • DateTime CSharp
  • Interview
  • Interview questions
  • Javascript
  • jQuery
  • jQuery Ajax
  • jQuery Checkbox
  • jQuery click
  • jQuery dialog
  • jQuery dropdown
  • jQuery mouse events
  • jQuery radio button
  • jQuery validations
  • json
  • Linq
  • validate email
  • wcf

Blog Archive

  • ▼  2015 ( 1 )
    • ▼  August ( 1 )
      • ▼  Aug 21 ( 1 )
        • C# interview questions and answers
  • ►  2013 ( 5 )
    • ►  April ( 1 )
      • ►  Apr 25 ( 1 )
    • ►  March ( 4 )
      • ►  Mar 12 ( 2 )
      • ►  Mar 11 ( 2 )
  • ►  2012 ( 81 )
    • ►  November ( 8 )
      • ►  Nov 18 ( 2 )
      • ►  Nov 16 ( 1 )
      • ►  Nov 14 ( 1 )
      • ►  Nov 11 ( 1 )
      • ►  Nov 04 ( 2 )
      • ►  Nov 02 ( 1 )
    • ►  October ( 1 )
      • ►  Oct 01 ( 1 )
    • ►  September ( 2 )
      • ►  Sep 28 ( 1 )
      • ►  Sep 27 ( 1 )
    • ►  May ( 3 )
      • ►  May 13 ( 1 )
      • ►  May 08 ( 2 )
    • ►  April ( 5 )
      • ►  Apr 24 ( 1 )
      • ►  Apr 20 ( 3 )
      • ►  Apr 07 ( 1 )
    • ►  March ( 22 )
      • ►  Mar 30 ( 1 )
      • ►  Mar 29 ( 1 )
      • ►  Mar 28 ( 2 )
      • ►  Mar 27 ( 1 )
      • ►  Mar 26 ( 1 )
      • ►  Mar 25 ( 1 )
      • ►  Mar 24 ( 1 )
      • ►  Mar 23 ( 1 )
      • ►  Mar 20 ( 2 )
      • ►  Mar 15 ( 1 )
      • ►  Mar 10 ( 1 )
      • ►  Mar 07 ( 1 )
      • ►  Mar 06 ( 1 )
      • ►  Mar 04 ( 1 )
      • ►  Mar 03 ( 4 )
      • ►  Mar 02 ( 2 )
    • ►  February ( 17 )
      • ►  Feb 29 ( 1 )
      • ►  Feb 28 ( 1 )
      • ►  Feb 26 ( 2 )
      • ►  Feb 25 ( 4 )
      • ►  Feb 23 ( 1 )
      • ►  Feb 22 ( 2 )
      • ►  Feb 21 ( 1 )
      • ►  Feb 18 ( 1 )
      • ►  Feb 16 ( 1 )
      • ►  Feb 10 ( 2 )
      • ►  Feb 06 ( 1 )
    • ►  January ( 23 )
      • ►  Jan 25 ( 2 )
      • ►  Jan 23 ( 2 )
      • ►  Jan 19 ( 2 )
      • ►  Jan 13 ( 6 )
      • ►  Jan 12 ( 7 )
      • ►  Jan 11 ( 1 )
      • ►  Jan 10 ( 2 )
      • ►  Jan 07 ( 1 )
  • ►  2011 ( 23 )
    • ►  December ( 7 )
      • ►  Dec 28 ( 1 )
      • ►  Dec 26 ( 1 )
      • ►  Dec 19 ( 1 )
      • ►  Dec 16 ( 2 )
      • ►  Dec 06 ( 1 )
      • ►  Dec 05 ( 1 )
    • ►  November ( 2 )
      • ►  Nov 30 ( 2 )
    • ►  September ( 9 )
      • ►  Sep 29 ( 1 )
      • ►  Sep 28 ( 2 )
      • ►  Sep 08 ( 2 )
      • ►  Sep 07 ( 3 )
      • ►  Sep 02 ( 1 )
    • ►  August ( 5 )
      • ►  Aug 26 ( 3 )
      • ►  Aug 25 ( 2 )

Copyright © 2025 C# | ASP.net | jQuery | Javascript | linq | Powered by Blogger