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

Asp.Net Get (Access) Session Values in JavaScript (Client Side)

Feb 27, 2017 3 comments
Introduction:

Here we will learn how to access asp.net session variable in JavaScript with example or  asp.net access session value in jQuery with example or access session values in client side using JavaScript with example or asp.net get session variables in JavaScript with example or get asp.net session variable values in client side in c#, vb.net with example. By using “Session” property we can easily access session variable value in JavaScript or jQuery based on our requirements.

Description:

Asp.Net Call Code Behind (Server Side) Function from JavaScript in C#, VB.Net

Aug 3, 2016 2 comments
Introduction

Here I will explain how to call code behind method / function from JavaScript in
asp.net using c#, vb.net with example or asp.net call code behind / server side method from JavaScript using c#, vb.net or how to call code behind method from JavaScript in asp.net using c#, vb.net with example. By using asp.net ajax scriptmanager property “EnablePageMethods = True” we can call server side method  in c#, vb.net.

jQuery Show Notification Bar on Top of the Page with Example

Jul 4, 2016 3 comments
Introduction:

Here I will explain how to use
jQuery to show notification bar on top of the page with example or jQuery show notification bar at top with example or jQuery add notification bar to website with example. By using jQuery and css properties we can show notification bar at top of the page.

jQuery Show Image Preview with Url Entered in Textbox Example

Jun 14, 2016 0 comments
Introduction:

Here I will explain how to use
jQuery to show image preview with url entered in textbox with example or jQuery show image preview from input textbox with examples or jQuery load image in div from url obtained from textbox. By using jQueryattr” property we can show image preview with the url entered from textbox.

Description:
  
In previous articles I explained jQuery preview image before upload using fileupload, jQuery show larger image preview on hover in asp.net, jQuery show loading image on button click with example, jQuery display text over image on hover using content hover plugin and many articles relating to
css, AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to show image preview with the url entered in textbox in jQuery with example.

jQuery Remove Focus from TextBox / Text Field Example

Jun 1, 2016 2 comments
Introduction:

Here I will explain how to use
jQuery to remove focus from text field with example or remove focus from textbox using jQuery or remove focus from input field with jQuery. In jQuery by using blur() property we can remove focus from input textbox field.

jQuery Show Hide Div Element on Scroll Position Example

May 11, 2016 4 comments
Introduction:

Here I will explain how to use
jQuery to show hide div element on scroll position or show hide div on scroll position in jQuery or show / hide element on scroll jQuery. In jQuery by using window.scroll property we can show or hide div element based on position.

JavaScript Convert Phone Number Format Example in jQuery

May 3, 2016 1 comments
Introduction

Here I will explain how to use
JavaScript to format phone number with example or convert phone number to international format (USA) in JavaScript / jQuery convert number to phone number format with example or JavaScript phone number validation example. By loop through number we can convert number to phone number format.

jQuery Disable F12 Key, Console Log in Browser in JavaScript Example

Apr 17, 2016 7 comments
Introduction:

By clicking F12 in the browser we can open the Console log and development tool of a web site running in the browser. As a developer while you are developing its OK for you, but when others are trying to see your application code and do some operations definitely we don't want to disclose this. So what is the solution? we can easily prevent this using some simple JavaScript  and jQuery scripts. Let’s see how.

Description
:

To stop this we can do two things. One, while users are opening the console log he or she will be prompted with some message or user will not be accessing the F12 key with mouse right click options. We will discuss both the ways one by one.

jQuery Difference between == and === in JavaScript with Example

Jan 11, 2016 3 comments
Introduction

Here I will explain difference between == and === in
JavaScript with example or what is the difference between == and === in jQuery with example. Generally JavaScript will provide different type of operators those are strict equality (===) and type converting equality (==). These operators help us to understand difference between == and === in JavaScript or jQuery.

Description:
  
In previous articles I explained jQuery bootstrap autocomplete textbox from database example, jQuery slideup, slidedown and slidetoggle example, jQuery autocomplete with images in asp.net,
jQuery hide div if we click outside of it example and many articles relating to css, AngularJS, jQuery, JavaScript and asp.net. Now I will explain difference between == and === in JavaScript or jQuery with example.

Generally JavaScript will provide different type of operators those are strict equality and type converting equality.

jQuery Show (Display) Loading Image on Button Click Example

Nov 30, 2015 4 comments
Introduction

Here I will explain how to use
jQuery to show loading on button click or display loading image on button click with example in jQuery. By using button html property we can show loading image on button click in jQuery.

jQuery Hide Div if Clicked Outside or Anywhere Else Example

Nov 19, 2015 0 comments
Introduction

Here I will explain how to use
jQuery to hide div when user clicks outside of it example or Hide/Close div when clicked outside of it using jQuery or hide element if click anywhere else using jQuery with example.

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 or hide div when click outside of it (anywhere else) using jQuery.

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

jQuery Change Text Size (Zoom in and Zoom out Text) with Example

Aug 12, 2015 1 comments
Introduction

Here I will explain how to change text size using jQuery or zoom in and zoom out text using jQuery  or increase or decrease font size of website dynamically on button click using
jQuery in asp.net.

Description:
  
In previous articles I explained
Redirect to another page after some time delay, jQuery slideUp slideDown toggle effects, Cross page postback in asp.net and many articles relating to JQuery and asp.net. Now I will explain how to zoom in and zoom out text size or increase and decrease font size of website dynamically using jQuery in asp.net.

Set Date Format in JavaScript dd/mm/yyyy hh:mm:ss Example

Jul 7, 2015 0 comments
Introduction

Here I will explain how to use
JavaScript to set date format in dd/mm/yyyy hh:mm:ss with example or JavaScript change or set date format in dd/mm/yyyy hh:mm:ss with example. By using new Date() properties we can change date format to dd/mm/yyyy hh:mm:ss in JavaScript.

JavaScript Get Date of 30 Days Prior (Ago) to Current Date Example

0 comments
Introduction

Here I will explain how to use
JavaScript to get date of 30 days prior to current date with example or JavaScript get 30 days minus / previous / ago of current date with example. By using new Date() property we can get date of 30 days prior to current date in JavaScript.

JavaScript Regular Expression to Replace (Escape) Special Characters from String

Jul 1, 2015 0 comments
Introduction

Here I will explain how to use
JavaScript regular expression to remove special characters or regular expression to escape special characters in JavaScript or regex to replace special characters in string using JavaScript. By using JavaScript replace function we can replace or remove special characters in string.

© 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.