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 Javascript. Show all posts
Showing posts with label Javascript. Show all posts

jQuery - Allow Only Alphabets in Textbox using JavaScript

Apr 22, 2013 19 comments
Introduction

Here I will show how to use JQuery to allow only alphabets in textbox or how to make textbox to allow only alphabets using JQuery.

Description:
  
In previous posts I explained
jQuery Allow only numbers in textbox, jQuery disable cut copy and paste options in textbox, jQuery Create Rounded Corners Textbox, jQuery slideUp, slideDown and slideToggle Example and many articles relating to JQuery, JavaScript, Asp.net. Now I will explain how to allow only alphabets in textbox using JQuery.

To allow only alphabets in textbox using JQuery we need to write the following code

jQuery - Allow Only Numbers (Numerics) in Textbox using JavaScript

11 comments
Introduction

Here I will show how to use JQuery to allow only numbers in textbox or allow only numeric characters in textbox using JQuery.

Description:
  
In previous posts I explained jQuery Autocomplete textbox with images, jQuery lightbox slideshow, jQuery Create Rounded Corners Textbox, jQuery slideUp, slideDown and slideToggle Example, Password strength jquery plugin examples and many articles relating to JQuery, Asp.net. Now I will explain how to allow only numbers in textbox using JQuery.

To restrict user to enter only numbers in textbox we need to write the following code

jQuery Disable Cut Copy Paste Options in Textbox

Apr 21, 2013 9 comments
Introduction

Here I will explain how to disable cut, copy and paste functionality for the Textbox using jQuery. In jQuery we can restrict to user to cut, copy, paste options in Textbox easily by using simple code.


To disable cut, copy and paste functionality for the Textbox we need to write the code like as shown below

Show Asp.net Alert Message from Server Side in C#, VB.NET

Apr 8, 2013 8 comments
Introduction:

In this article I will explain how to show alert message from server side using asp.net in C#, VB.NET.

Description:
  
In previous articles I explained Call JavaScript function from code behind in asp.net, Call Server side function from JavaScript, Call Page methods from JSON in asp.net many articles relating to Asp.net, C#.NET, JavaScript, Gridview, JQuery etc. Now I will explain how to show alert message from server side using asp.net in C#, VB.NET.

To display JavaScript alert message from server side we need to use 

jQuery Show DIV, Hide DIV, Toggle DIV Content Example

Apr 5, 2013 7 comments
Introduction:

Here I will explain how to show / hide div using
jQuery. jQuery show & hide div content example. By using few lines of jQuery coding we can show or hide div content elements.
Description:
  
In previous posts I explained many
jQuery slideUp slideDown slideToggle effects example, jQuery Enable / Disable Textbox Controls on WebPage, jQuery Show Hover Dropdown Menu, Simple jQuery modal popup example, jQuery show YouTube videos in popup window and many articles relating to JQuery, JavaScript. Now I will explain how to show or hide div or table elements on website using JQuery.

jQuery Calculate Page Load Time in JavaScript

Apr 3, 2013 4 comments
Introduction

Here I will explain how to calculate page load time in JavaScript, jQuery.

Description:
  
In previous articles I explained jQuery custom right click context menu, JavaScript Check internet connection,
jQuery Get Cursor position, jQuery select all the text from textarea and many articles relating to JavaScript, jQuery, asp.net. Now I will explain how to calculate page load time in JavaScript, jQuery.

If we want to calculate page load time in we need to write the code like as shown below

Use jQuery to Hide a DIV when Clicks Outside of it in JavaScript

Mar 28, 2013 5 comments
Introduction

Here I will explain how to use
jQuery to close or hide div when user clicks outside of it or Hide/Close div when clicked outside of it using jQuery or how to close open div when click outside of it using jQuery.

Description:
  
In previous posts I explained jQuery Check internet connection using JavaScript, jQuery Custom Right click Context Menu, jQuery UI Virtual keyboard example, jQuery Show hidden content on mouse over on top of element and many articles relating to
jQuery. Now I will explain how to close open div when click outside of it using jQuery.

If you want to close open div when click outside of it we need to write the code like as shown below

jQuery Right Click Context Menu Example | Custom jQuery Right Click Menu

9 comments
Introduction

Here I will explain how to make/ create 
custom jQuery right click context menu example or custom right click menu using jQuery and how to disable right click on the page using JQuery.

Description:
  
In previous posts I explained
change background of controls when validation fails, Change textbox background color in JavaScript, split the string, add fade in effect to page, Password strength jquery plugin examples and many articles relating to JQuery. Now I will explain how to create custom right click context menu using JQuery.

JavaScript - Check Internet Connection using jQuery Example

15 comments
Introduction

Here I will explain how to check internet connection using
jQuery / JavaScript or Check internet connection with JavaScript.

Description:
  
In previous articles I explained JavaScript remove duplicate values from arraylist,
jQuery change background color randomly, jQuery create rounded corner textbox, JavaScript Show number of characters left in textbox and many articles relating to JQuery, JavaScript and asp.net. Now I will explain how to check internet connection using jQuery or JavaScript.

JavaScript - OnClick Select All the Text from Textarea or Textbox Controls

Mar 14, 2013 2 comments
Introduction

Here I will explain how to select all the text by click on textarea or textfield using JavaScript or Highlight All Text by Clicking on Text Field or Textarea in JavaScript.
 
Description:

In previous article I explained how to set watermark text for textbox using JavaScript, Remove duplicate values from string array in JavaScript, Disable drag and drop options in textbox or textarea controls, JavaScript show number of characters left in textbox and many articles relating to asp.net, jQuery, JavaScript. Now I will explain how to select all the text by click on textarea or textbox field using JavaScript.

JavaScript - Enable or Disable a Controls Like Button, Textbox, Checkbox

2 comments
Introduction

Here I will explain how to enable or disable a button control in JavaScript or Enable/Disable a controls in JavaScript. 

Description:
  
In previous articles I explained JavaScript Enable/Disable button based on text in textboxes,
jQuery Shake image on mouse over, jQuery upload multiple files using multiple file upload plugin, jQuery fancy switch on and off effects example and many articles relating to JavaScript, jQuery, asp.net. Now I will explain how to enable or disable a button control in JavaScript.
To set controls enable or disable in JavaScript we need to write the code like as shown below

JavaScript - Remove Duplicate Values from Arraylist String

Mar 12, 2013 1 comments
Introduction

Here I will explain how to use JavaScript to remove duplicate values from array or remove duplicate values/elements from string array using JavaScript

Description:

In previous article I explained Show number of characters left in text using JavaScript, Set watermark text for textbox using JavaScript, JavaScript Automatically move cursor to next field when textbox full , JavaScript add bookmark link to website and many articles relating to JavaScript, jQuery, SQL, asp.net etc. Now I will explain how to remove duplicate values/elements from string array using JavaScript.

Disable Drag and Drop Option in Textbox or Textarea Controls

Feb 28, 2013 6 comments
Introduction

Here I will explain how to disable drag and drop option in textbox or textarea using JavaScript properties. 

Description:
  
In previous articles I explained JavaScript show number of characters left, JavaScript restrict user to enter only numbers, JavaScript allow limited characters in textarea, JavaScript remove special characters from textbox and many articles relating to
JavaScript, jQuery, asp.net. Now I will explain how to disable drag and drop option in textbox or textarea.

Previously I written one post JavaScript remove special characters from textbox to remove special characters from textbox at that time one reader has asked me the question like 

“Textbox removing special characters whenever I enter but if I select some special characters text and hold the text by mouse click and drop it in textbox it’s allowing how to restrict that drag and drop option?”

JavaScript - Show Number of Characters Remaining in Textbox or Textarea

15 comments
Introduction

Here I will explain how to show number of characters remaining in textbox or textarea using JavaScript

Description:
  
In previous articles I explained JavaScript restrict user to enter only numbers, JavaScript allow limited characters in textarea, JavaScript remove special characters from textbox JavaScript validations for phone, email and many articles relating to
JavaScript, jQuery, asp.net. Now I will explain how to show number of characters remaining in textbox or textarea using JavaScript.

JavaScript - Remove Special Characters from Textbox

9 comments
Introduction

Here I will explain how to use JavaScript to remove special characters from textbox entered by 
user. 

Description:
  
In previous articles I explained JavaScript restrict user to enter only numbers, Watermark textbox in JavaScript, JavaScript validations for phone, email and many articles relating to
JavaScript, jQuery, asp.net. Now I will explain how to use JavaScript to remove special characters from textbox entered by user.

JavaScript Automatically Move Cursor to Next Field When Textbox Full

16 comments
Introduction

I will explain how to use JavaScript to automatically move cursor to next field when cursor textbox full or JavaScript to automatically (Auto Tab) send the user from one field (textbox) to the next when the maxlength of the field has been reached.
 
Description:
  
In previous articles I explained
jQuery Change background color of div, jQuery fadein fadeout effect, jQuery get current page url and title, jQuery create rounded corners for textbox and many articles relating to JavaScript, jQuery, asp.net. Now I will explain how automatically (Auto Tab) send the user from one field (textbox) to the next when the maxlength of the field has been reached.

Find Number of Vowels in a String in JavaScript | Count Vowels in String using JavaScript

Feb 27, 2013 2 comments
Introduction

Here I will explain how to find number of vowels in a string in JavaScript or get vowels count in string in JavaScript.

Description:
  
In previous posts I explained many articles relating to JavaScript,
JQuery. Now I will explain how to find number of vowels in a string in JavaScript.

JavaScript - How to Get Screen Resolution of User or Client Machine

Feb 25, 2013 3 comments
Introduction

Here I will explain how to Get Monitor screen resolution using JavaScript or Get screen resolution of user in JavaScript.

Description:

In previous article I explained Set watermark text for textbox using JavaScript, JavaScript Set Default home page in IE, Mozilla, JavaScript add bookmark link to website and many articles relating to JavaScript, jQuery, SQL, asp.net etc. Now I will explain how to get screen resolution of user in JavaScript.

jQuery setTimeout Function Example in JavaScript

1 comments
Introduction

Here I will explain how to use jQuery setTimeout function with example. jQuery 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 jQuery setTimeout function to achieve this functionality. 

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,
jQuery Bouncing Menu Example and many articles relating to jQuery, JavaScript. Now I will explain how to use jQuery setTimeout() function with example. 

jQuery setTimeout() function is same as jQuery setInterval() function
© 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.