C# ASP.NET ADO.NET JAVASCRIPT JQUERY AJAX SILVERLIGHT WPF
Tutorials
C# OOPS HTML&CSS DHTML ASP.NET ADO.NET JAVASCRIPT JQUERY AJAX SILVERLIGHT MVVM WPF SQL SERVER Photoshop Dreamweaver Flash Illustrator
Interview Question
Blog Archive
-
2012
(83)
- September(2)
-
August(81)
- Important WPF Classes and Namespaces
- Applications of WPF
- Programming With WPF
- Limitations of Silverlight and flash
- Silverlight Feature comparison with Flash Features
- How to Add XML File in Your Silverlight Project
- 3 Pixel Shader Effects in Silverlight
- Rotate Image in 3D direction using Silverlight
- First Application of Silverlight
- Silverlight 2.0
- How Install Ajax?
- Ajax Advantage
- JavaScript Loops
- Show a Military Clock and ordinary clock
- How To validate a Form in ASP. Net
- How to show Day of Week
- How to Swap a Image using JavaScript
- Special Character in JavaScript
- Prompt Box in JavaScript
- The use of data adapter.?
- The steps involved to fill a dataset?
- Dataset object in ADO .NET
- Handling Connection Events
- The SQLCONNECTION OBJECT
- Command Constructors
- The SQLCOMMAND OBJECT
- Gridview in ASP.NET
- Introduction Of Master Page
- Server Side State Management
- Query String In ASP.NET
- Cookies in ASP.NET
- State Management in ASP.NET
- Various types of application that we can develop i...
- Properties
- Inheritance ,Polymorphism
- Array,Indexer and Collections
- Control Statements
- Operators, types and variables in C#
- Fundamental of C#
- C# & other Programming Languages
- The WPF Designer
- C# DataTypes
- What is Ajax?
- Silverlight 1.0
- Confirm Box in JavaScript
- Component classes
- Life Cycle of ASP.NET
- The Basics of JQuery
- Jquery Blog Content
- Birth Of WPF
- .Net Frameworks Architecture
- History Of Ajax
- Why Silverlight?
- How to access a URL of parent page in ASP. net
- THE ADO.NET Architecture?
- Architecture of ASP.NET
- Introduction Of Ajax
- Ajax Blog Content
- Introduction of SilverLight
- Silverlight Blog Content
- Introduction to Javascript Blog
- Javascript Blog Content
- Introduction to Ado.Net blog
- Ado.Net Blog Content
- Introduction to C# Blog
- C# Blog Content
- Introduction to Asp.Net
- Asp.Net Blog Content
- Introduction to WPF
- WPF Blog Content
- WPF Interview Question
- Silverlight Interview Question
- Ajax Interview Question
- JQuery Interview Question
- Javascript Interview Question
- DHTML Interview Question
- Ado.Net Inetview Questions
- SQL Interview Questions
- HTML&CSS Interview Questions
- Asp.Net Interview Qusetions
- C# Interview Questions
JQuery Interview Question
JQuery Interview Questions And Answers
| 1. | Ques: 1- What is jQuery ? |
|---|---|
| It's very simple but most valuable Question on jQuery means jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, animating, event handling, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript. Jquery is build library for javascript no need to write your own functions or script jquery all ready done for you. |
| 2. | Ques: 2 How you will use Jquery means requirement needed for using jquery? |
|---|---|
| Nothing more need to do just olny download jquery library(.js file) from any of the jquery site Download jquery and just linked with your html pages like all other javascript file
like below : Code: < script src="jquery.js" language="javascript" type="text/javascript"> |
| 3. | Ques:3 what the use of $ symbol in Jquery? |
|---|---|
| $ Symbol is just replacement of jquery means at the place of $ you may use jquery hence $ symbol is used for indication that this line used for jquery |
| 4. | Ques: 4 How do you select an item using css class or ID and get the value by use of jquery? |
|---|---|
| If an element of html like < div> , < p> or any tag have ID MyId and class used MyClass then we select the element by below jquery code
Code: $('#MyId') for ID and for classs $('.MyClass') and for value Code: var myValue = $('#MyId').val(); // get the value in var Myvalue by id Or for set the value in selected item Code: $('#MyId').val("print me"); // set the value of a form input |
| 5. | Ques: 5 How to get the server response from an AJAX request using Jquery? |
|---|---|
| When invoking functions that have asynchronous behavior We must provide a callback function to capture the desired result. This is especially important with AJAX in the browser because when a remote request is made, it is indeterminate when the response will be received.
Below an example of making an AJAX call and alerting the response (or error):
Code:
$.ajax({ url: 'pcdsEmpRecords.php', success: function(response) { alert(response); }, error: function(xhr) { alert('Error! Status = ' + xhr.status); } }); |
| 6. | Ques: 6 How do you update ajax response with id " resilts"? |
|---|---|
| By using below code we can update div content where id 'results' with ajax response Code: function updateStatus() { $.ajax({ url: 'pcdsEmpRecords.php', success: function(response) { // update div id Results $('#results').html(response); } }); } |
| 7. | Ques: 7 How do You disable or enable a form element? |
|---|---|
| There are two ways to disable or enable form elements.
Set the 'disabled' attribute to true or false: Code: // Disable #pcds $('#pcds').attr('disabled', true); // Enable #pcds $('#pcds').attr('disabled', false); Add or remove the 'disabled' attribute: // Disable #pcds $("#pcds").attr('disabled', 'disabled'); // Enable #x $("#pcds").removeAttr('disabled'); |
| 8. | Ques: 8 How do you check or uncheck a checkbox input or radio button? |
|---|---|
| Yes.
There are two ways to check or uncheck a checkbox or radio button.
Set the 'checked' attribute to true or false. Code: // Check #pcds $('#pcds').attr('checked', true); // Uncheck #pcds $('#pcds').attr('checked', false); Add or remove the 'checked' attribute: // Check #pcds $("#pcds").attr('checked', 'checked'); // Uncheck #pcds $("#pcds").removeAttr('checked'); |
Labels:
Interview Question









