Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Showing posts with label Code Snippets. Show all posts
Showing posts with label Code Snippets. Show all posts

Regular Expression(Regex) to Validate URL without http(s) in JavaScript

Sep 14, 2013 10 comments
Introduction

Here I will explain regular expression for validating website url with or without http in
JQuery, JavaScript or regex to validate website url with or without http(s)  in JQueryJavaScript

Description:
  
In previous articles I explained
validate email address using JQuery, how to disable or enable all the controls on page using JQuery , validate phone number using JQuery and many articles relating to JQuery, JavaScript. Now I will explain regular expression for validating url with or without http in JQuery, JavaScript.

Call JavaScript Function for Every 5 Seconds or 10 / 30 Seconds

2 comments
Introduction

Here I will explain how to call a JavaScript function for every 5 seconds or run / execute JavaScript function at regular intervals of time.

Description:
  
In previous articles I explained jQuery get current page url and title, jQuery get url parameter values, Create tabbed menu with rounded corners using CSS, jQuery shake image on mouse hover and many articles relating to JavaScript, jQuery, asp.net. Now I will explain how to call a JavaScript function for every 5 seconds.

jQuery Get Query String Values with Special Characters (&,')

Sep 13, 2013 3 comments
Introduction

Here I will explain how to get query string parameter value with special characters in
jQuery .

Description:
  
In previous articles I explained jQuery get query string parameter value with spaces,
jQuery get query string parameter values, asp.net pass multiple parameters in query string, jQuery Remove first/last character from string, jQuery create rounded corners for textbox and many articles relating to JQuery. Now I will explain how to get query string parameter value with special characters in jQuery.

jQuery Merge Multiple Tables into a Single Table in JavaScript

1 comments
Introduction

Here I will explain how to use
jQuery to merge multiple tables into a single table in Javascript or jQuery to merge two tables into single table.

jQuery Check if String Contains Specific Word in JavaScript

Sep 12, 2013 4 comments
Introduction

Here I will explain how to use
jQuery to check particular word in string in JavaScript or jQuery to check if string contains specific word in JavaScript.

Description:
  
In previous articles I explained jQuery add border to images in webpage, jQuery show loading image in pageload, jQuery hide div elements after 5 seconds, jQuery convert am / pm time to 24 hours time, jQuery print div content with css
and many articles relating to JQuery, JavaScript. Now I will explain how to check if string contains specific word in JavaScript.

jQuery Autocomplete Clear Textbox After Select

Sep 1, 2013 2 comments
Introduction:

Here I will explain how to clear autocomplete textbox in jQuery after select or jQuery clear autocomplete textbox after select.    

Description:

C# - Add/Copy Rows from One Datatable to Another Datatable

Aug 29, 2013 0 comments
Introduction:

Here I will explain simple
code snippet in c# to add rows from one table to another table in vb.net, asp.net or copy rows from one datatable to another datatable in  c#, vb.net.

Description:

In Previous posts I explained using statement example in c#, Get all files from folder and subfolders in c#, Export webpage with images to pdf in asp.net and many articles relating to
c#, vb.net, Asp.net, Gridview, SQL Server, Ajax, JavaScript etc. Now I will explain how to add rows from one table to another table in c#, vb.net, asp.net.  

To add rows from one table to another table we need to use ImportRow function like as shown below

jQuery Get Query String Parameter Values with Spaces

Aug 28, 2013 0 comments
Introduction

Here I will explain how to use
jQuery to get query string parameter value with space.

Description:
  
In previous articles I explained jQuery get query string parameter values,
jQuery Remove first/last character from string, Best Drag and Drop Plugin examples, Scroll back to top plugin Examples, jQuery create rounded corners for textbox and many articles relating to JQuery. Now I will explain how to get query string parameter value with space using JQuery.

JavaScript setTimeout Function Example

2 comments
Introduction

Here I will explain how to use JavaScript setTimeout function with example. JavaScript setTimeout() function is used to execute functions at regular intervals of time. Suppose if we want to execute one JavaScript function for every 10 seconds or for a specific time we can use JavaScript setTimeout function to achieve this functionalit. 

Description:

In previous articles I explained Start and Stop timer in JavaScript, Show user current location on Google map, Regular expression to validate file upload extension and many articles relating to jQuery, JavaScript. Now I will explain how to use JavaScript setTimeout() function with example. 

jQuery Hide DIV Elements After 5 Seconds or Some Time Delay

7 comments
Introduction:

Here I will explain how to use 
jQuery to hide div elements after 5 seconds or jQuery show or hide div elements after 5 seconds or after some time delay or jQuery remove div after 5 seconds

jQuery Stop Form Submit on Enter Key or Disable Form Submission on Enter Key

0 comments
Introduction

Here I will explain how to stop form submit on enter in jQuery or prevent form submit on enter key in jQuery or disable form submission on enter key in jQuery.

Description:
  
In previous articles I explained
jQuery get current page url and title, jQuery disable future dates in datepicker, jQuery Get Cursor position, jQuery Bind double click event to button control, jQuery create rounded corners for textbox and many articles relating to JavaScript, jQuery, asp.net codesnippets. Now I will explain how to stop or disable form submission on enter key using jQuery.

JQuery Check Given Date Greater than Current Date or Today Date JavaScript

Aug 27, 2013 3 comments
Introduction

Here I will explain how to use jQuery to check given date greater than current date or today date in JavaScript or check date greater than current date using JavaScript / jQuery.

jQuery Convert AM PM Time to 24 Hour Time

1 comments
Introduction

Here I will explain how to use jQuery to convert 12 hours AM / PM time to 24 hours time format using jQuery or jQuery convert AM/PM time to 24 hour time.

Description:
  
In previous articles I explained jQuery print div with css, jQuery get all selected checkbox values with comma separated values, jQuery show testimonials with CSS, jQuery disable submit button to avoid duplicate form submission, jQuery Bouncing Menu Example and many articles relating to JavaScript, jQuery, asp.net. Now I will explain how to convert AM/PM time to 24 hour time using jQuery.

JavaScript Convert 12 Hour AM/PM Time to 24 Hours Time Format

3 comments
Introduction

Here I will explain how to use JavaScript to convert 12 hours AM / PM time to 24 hours time format using JavaScript or JavaScript convert AM/PM time to 24 hour time.

Description:
  
In previous articles I explained
jQuery print div with css, jQuery get all selected checkbox values with comma separated values, JavaScript show single quote in string, Get LinkedIn logged in user details in JavaScript, jQuery Bouncing Menu Example and many articles relating to JavaScript, jQuery, asp.net. Now I will explain how to convert 12 hours AM / PM time to 24 hours format using JavaScript.

C# Get All Files from Folder and Subfolders & Display it in Gridview in asp.net

Aug 26, 2013 6 comments
Introduction:

Here I will explain how to get all files from folder and subfolders in C# and display or bind to Gridview in asp.net using C#, VB.NET or C# Get All Files from Folder and Subfolders and Display it in Gridview in asp.net.

Description:

C# Get All Files from Directory and Subdirectories and Display it in Gridview

2 comments
Introduction:

Here I will explain how to get all files from directory and subdirectories in C# and display or bind to Gridview in asp.net using C#, VB.NET.

Description:

In previous articles I explained create zip files in asp.net, Delete files from uploaded folder in asp.net, create/delete directory in asp.net, Joins in SQL Server and many articles relating to Gridview, SQL , jQuery , asp.net, C#, VB.NET. Now I will explain how to get all files from directory and subdirectories and bind to Gridview in asp.net using C#, VB.NET.

jQuery Insert DIV After DIV with Before() or InsertBefore() Methods

Jul 31, 2013 5 comments
Introduction

Here I will explain how to insert div after div in jQuery with before() or insertBefore() methods in jQuery or add div before another div in jQuery.

Description:

jQuery add Text to End of DIV or jQuery Append Text to DIV

Jul 29, 2013 1 comments
Introduction

Here I will explain how to add text to end of div in jQuery or append text content to div in jQuery or add content to end of div in jQuery. 

Description:

SQL Server Split Function Example in 2008 to Split Comma Separated String into Table

Jul 28, 2013 13 comments
Introduction

Here I will explain simple split function in SQL Server to split comma separated string into table values in SQL Server database or How to split comma separated string with custom split() function in SQL Server

Description:

jQuery Disable Submit Button After Click to Avoid Duplicate Form Submission

Jul 27, 2013 4 comments
Introduction

Here I will explain how to use
jQuery to disable submit button after first click to avoid duplicate or multiple form submission or jQuery disable submit button after click to avoid duplicate form submission.

Description:
  
In previous articles I explained
jQuery Get Current Datetime, Auto refresh page , Expand textbox on focusDisable right click on image and many articles relating to jQuery. Now I will explain how to disable submit button after click to avoid multiple form submission using jQuery.
© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.