Question:- Differentiate Between Prop() And Attr()S?
Answer:- The prop() and attr() are both used to get or set the value of the specified property of the element attribute. But the major difference is:
Question:- Differentiate Between Find And Children Methods?
Answer:- • find() This method is used to find all the descendant elements of selected elements. • children() This method is used to find all the children elements that are related to that selected element.
Question:- Define CDN?
Answer:- A content delivery network(CDN), or content distribution network, is defined as a geographically distributed network of the proxy server and their respective data centers. The main aim is to provide high performance and availability by distributing the service spatially relative to the end-users.
Question:- How Can We Read, Write And Delete Cookies In JQuery?
Answer:- We can deal with cookies in jquery by using the Dough cookie plugin. The dough is easy to use and has robust features. Create cookie: $.dough(“cookie_name”, “cookie_value”); Read Cookie: $.dough(“cookie_name”); Delete cookie: $.dough(“cookie_name”, “remove”);
Question:- List The Advantages Of Using CDN?
Answer:- 1. Your reliability and response times get a huge boost 2. A CDN enables global reach 3. A CDN saves a lot of money 4. 100% percent availability 5. Decrease server load 6. 24/7 customer support 7. Increase in the number of Concurrent Users 8. DDoS protection
Question:- What Is The Goal Of CDN?
Answer:- The main aim of the CDN is to provide content to the end-users with high performance and high availability.
Question:- List Few Features Of JQuery?
Answer:- 1. HTML manipulation 2. DOM manipulation 3. DOM element selection 4. CSS manipulation 5. Effects and Animations 6. Utilities 7. AJAX 8. HTML event methods
Question:- List The Features Of JQuery Which Are Used In Web Applications?
Answer:- jQuery uses features like 1. Sliding 2. File uploading 3. Accordion in web applications
Question:- How To Use A JQuery Library In Your Project?
Answer:- We can use the jQuery library in the ASP.Net project by downloading the latest jQuery library from the website jQuery.com that will include the references to the jQuery library file in the HTML/PHP/JSP/aspx page.
Question:- List The Different Types Of Selectors In JQuery?
Answer:- 1. CSS Selector 2. Custom Selector 3. XPath Selector
Question:- What Is The JQuery Filter?
Answer:- When given a jQuery object that will represent a set of DOM elements, the filter() method will construct a new jQuery object from the subset of matching elements. The supplied selector is now tested against each element; all the elements that are matching the selector will be included in the given result.
Question:- What Is The “Serialize() “Method In JQuery?
Answer:- We use the jQuery serialize() method to create a text string in standard URL-encoded notation. It is mainly used in form controls such as input, < textarea>, < select> etc. It will serialize the form values so that its serialized values are used in the URL query string while making an AJAX request.
Question:- How Can We Add And Remove CSS Classes To An Element Using JQuery?
Answer:- We use addclass() jQuery method to add CSS class to the element. xample: (A small snippet of code is given below to add a class) $(document).ready(function() { $("#btn").click(function() { $("#para").addClass("change"); }); });
Question:- Why Do We Use Val() Method In JQuery?
Answer:- The val() method in jQuery is mainly used to get the values of the form elements. This method does not accept any arguments. This method will return a NULL when no option is selected, and in the case of one or more selections, it returns an array that contains the value of each selected option.
