Jquery
Cross Domain AJAX Request
.
In my earlier blogs, I have explored ASP.Net and JQuery topics. You may also read – How to Call ASP.Net web method using JQuery AjaxIn this blog let’s see about Cross Domain AJAX Request.Sometimes you have noticed that the browser…
Error – Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response.
.
I was working on a project where I wrote a web method and called this web method from JQuery.While accessing the web method I got this error –“Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response.”In debugging,…
How to call ASP.Net web method using JQuery AJAX ?
.
In normal ASP.NET web forms, if you want to send any data to server your web page will be refreshed i.e. will do a post back.In some case, if you want to send data to the server without using any…
Java Script Code to detect browser and apply CSS property
.
How to detect browser using Java Script Code and apply CSS property ? As we all know that IE browser behaves unexpected in some cases and need some extra CSS property or change in CSS property to work/view perfectly. Below…
Upload a file using JQuery and Generic Handler in ASP.Net
.
In this blog we will learn how to use jquery and generic handler in asp.net to upload a file.I have used Jquery to call a generic handler to upload a file. In this blog I have written code which accepts…
What is JQuery Callback Function?
.
A call back function executed after the current event has completed. Java Script code executes line by line. However, if next line of code executes even before completing the action(s) which wrote in previous lines. This may create an error….
JQuery Events Methods
.
Like a programming language, a JQuery also has some events. JQuery event occurs on a web page when a user takes some actions like the mouse click, mouse scroll, check box selection etc. Below are some events. Mouse Events Keyboard…
JQuery Selectors
.
JQuery selectors allow you to select and manipulate HTML elements. JQuery selectors find HTML elements based on id, name, attribute, classes etc. General syntax for JQuery selector is $()Ex: Element selector$(“p”) – select all p element on that page. ID…
JQuery Tutorial
.
What is JQuery? · Jquery is a light weight java script library.· JQuery is cross browser.· Easy to write compare to java script. $(document).ready is a jquery event. It fires as soon as the DOM is loaded.This event is fired…
HTML Form Validations
.
In this blog, we will see HTML form validation code in JavaScript. My another blog on AMP HTML and Angular JS.Form validation for Alphabet only: Sometimes you may require allowing the only alphabet in a particular input field. For Eg…
Calling ASP.Net WebMethod using jQuery AJAX
.
Before reading this blog, you can read some of my popular blogs – ASP.Net Tutorial, WCF Tutorial, .Net Core Tutorial, JQuery Tutorial In this blog, we will first know about Web Method. What is Web Method? Web methods are those…
How to add an active class in navigation menu item in asp.net website?
.
Generally active class show which page /link you are visiting currently. Active class will be added in CSS class, but the problem is only one item can have active class at one time. But we need to show active class…
How to Crop and Upload image using JQuery
.
In this blog, I will explain how to crop an image and then upload that image using jQuery. Here you will come to know about preview an image, and then crop that image and finally upload it using jQuery and…
