Home > jquery

Common jQuery Ajax methods and options

In the previous article, we learned about event.preventDefault() vs event.stopPropagation() vs return false. In this article, we will cover the most basic methods/function used in jQuery when dealing with Ajax. Ajax ( Asynchronous JavaScript and XML ) it allows web pages to change/update data asynchronously with a web server without reloading the

This Article is TAGGED in , , , . Read more

17 Useful jQuery Tricks and Best Practices

In the previous article, we learned about Common jQuery Ajax methods and options. In this article, we will cover the some general Do's and Dont's or Best Practices in jQuery, which is helpful to increase your page speed and will optimize code. jQuery is the most popular client-side library. It has

This Article is TAGGED in , , , , , , . Read more

event.preventDefault() vs event.stopPropagation() vs return false

This article provides the information how can we prevent default behavior/action of an element in jQuery. Sometimes we need to stop/prevent element default action when a certain event is fired using jQuery.Event object methods we can achieve that event. We will see all three methods with a DEMO  event.preventDefault() event.preventDefault();  method is stop default

This Article is TAGGED in , , , , . Read more

jQuery .html vs .append vs .innerHTML Difference and Performance

This article provides the information about jQuery DOM insertion methods Difference and Performance. These methods are really matters for your page, It dramatically affects the performance of your page. .html() The .html() jQuery method set and return the content of selected elements. When this method is used to set content, It set the content

This Article is TAGGED in , , . Read more

Resize Add-In Parts dynamically in SharePoint Add-Ins

Hello everyone, in this post we will discuss about how to resize Add-in App Part. If you are reading this post first time, I would recommend read following articles SharePoint Hosted Add-In as an App Part SharePoint Hosted custom App Part properties Above my listed article give complete information about App Part/Add In

This Article is TAGGED in , , , , , , . Read more

How to add and read SharePoint Hosted custom App Part properties

Hello everyone, in this post we will discuss about custom Add-in Part properties with how to add and read custom Add-in Part properties. If you are reading this post first, I would recommend to read SharePoint Hosted Add-ins as an App-Part first, that mentions what is an app part and how to create and

This Article is TAGGED in , , , , , , . Read more

How to add SharePoint Hosted Add-In as an App Part

Hello everyone, in this post we will discuss about Add-in App Part, what is an app part and how to create and show SharePoint Hosted Add-ins as an App-Part. What is an App Part App Part is basically Client Web Part to present an add-in content to an end user. An App

This Article is TAGGED in , , , , , , . Read more

jQuery: Difference between selectors :first, :first-child and :first-of-type

Definition: :first – use this selector to select first element. This selector select only one single element from all related elements available on the page. :first-child – use this selector to select all first child elements from each parent. :first-of-type – use this selector to select all first child elements, of a specific

This Article is TAGGED in , , , , , . Read more