Direction:
Contacting
©Info
404-447-3025
Cart (0)
SUPPORT
FAQ
BLOG
Toggle navigation
About
Contact
Store
Login
Profile
Orders
Logout
Technology
Explore Programming Skills?
C#
.Net
Asp.Net MVC
Asp.Net
Asp.Net Core s
........................
Web API
WPF
Blog
Explore Home Features?
Angular
React
Java
Java Script
Git and GitHub
..................................
HTML5
Ajax
Google API
Explore Home Features?
About Us
Entity Framework
CSS
Html5
Bootstrap
......................
Google API
Other
WCF
Explore Home Features?
SQL Server
Oracle
MongoDB
MySql
Other
........................
Google API
Other
WCF
Services
Explore Home Features?
Servi1
Policies & Procedure
Blog
Site Photos & Contributers
Site Photos & Contributers
Explore Home Features?
About Us
Policies & Procedure
Blog
Site Photos & Contributers
Site Photos & Contributers
Explore Home Features?
About Us
Policies & Procedure
Blog
Site Photos & Contributers
Site Photos & Contributers
Explore Home Features?
About Us
Policies & Procedure
Blog
Site Photos & Contributers
Site Photos & Contributers
Dashboard
JqJava Top questions
Find by name:
New Post
Recent Post
Peter Agyekum
What is difference between prop and attr?
jQuery.attr() Gets the value of an attribute for the first element in the set of matched elements. Whereas: jQuery. prop () Gets the value of a property for the first element in the set of matched elements.
Thomas Kush
How many types of functions JavaScript supports?
A function in JavaScript can be either named or anonymous.
Stephany Bahonta
What are the main steps in Data Modeling?
1.Logical – Planning, Analysis and Design 2.Physical – Design, Implementation and Maintenance
Stephany Bahonta
What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors?
Ans. Cursors allow row-by-row processing of the result sets. Types of cursors: Static – Makes a temporary copy of the data and stores in tempdb and any modifications on the base table does not reflected in data returned by fetches made by the cursor. Dynamic – Reflects all changes in the base table. Forward-only – specifies that cursor can only fetch sequentially from first to last. Keyset-driven – Keyset is the set of keys that uniquely identifies a row is built in a tempdb. Disadvantages of cursors: Each time you fetch a row from the cursor, it results in a network roundtrip, whereas a normal SELECT query makes only one roundtrip, however large the result set is. Cursors are also costly because they require more resources and temporary storage (results in more IO operations). Further, there are restrictions on the SELECT statements that can be used with some types of cursors. Most of the times set-based operations can be used instead of cursors.
Peter Agyekum
Why jQuery is needed?
jQuery is needed for the following list: Used to develop browser compatible web applications Improve the performance of an application Very fast and extensible UI related functions are written in minimal lines of codes
Peter Agyekum
Whether jQuery HTML work for both HTML and XML documents?
No, jQuery HTML only works for HTML documents not for XML Documents.
Peter Agyekum
What are the methods used to provide effects?
Some of the effects methods are: Show() Hide() Toggle() FadeIn() and FadeOut()
Peter Agyekum
What is the advantage of using minimized version of jQuery?
Efficiency of web page increases when minimized version of jQuery is used.min.js file will be more than 50% less than the normal js file. Reduction in the file size makes the web page faster.
Peter Agyekum
Is jQuery is a JavaScript or JSON library file?
jQuery is a library of JavaScript file and it consists of DOM, event effects and the Ajax functions. jQuery is said to be a single JavaScript file.
Peter Agyekum
Which operating system is more compatible with jQuery?
Mac, Windows and Linux are more compatible with the jQuery.
Peter Agyekum
Which command will give a version of jQuery?
The command $.ui.version returns jQuery UI version.
Peter Agyekum
In what scenarios jQuery can be used?
jQuery can be used in following scenarios: Apply CSS static or dynamic Calling functions on events Manipulation purpose Mainly for Animation effects
Peter Agyekum
What is the difference between find and children methods?
Find method is used to find all levels down the DOM tree but children find single level down the DOM tree.
Peter Agyekum
What is jQuery connect?
A ‘ jQuery connect’ is a plugin used to connect or bind a function with another function. Connect is used to execute function from any other function or plugin is executed.
Peter Agyekum
How to use connect?
Connect can be used by downloading jQuery connect file from jQuery.com and then include that file in the HTML file. Use $.connect function to connect a function to another function.
Peter Agyekum
What are the features of jQuery, has been used in web applications?
jQuery uses features like Sliding, File uploading and accordian in web applications.
Peter Agyekum
What are the basic selectors in jQuery?
Following are the basic selectors in jQuery: Element ID CSS Name Tag Name DOM hierarchy
Peter Agyekum
Can we call C# code behind using jQuery?
Yes, we can call C# code from jQuery as it supports .net application.
Peter Agyekum
What is the use jQuery.data method?
jQuery.data methods is used to associate the data with the DOM nodes and the objects. This data method makes the jQuery code clear and concise.
Peter Agyekum
What is the use of each function in jQuery?
Each function is used to iterate each and every element of an object. It is used to loop DOM elements, arrays and the object properties.
Peter Agyekum
What is the difference between size and length of jQuery?
Size and length both returns the number of element in an object. But length is faster than the size because length is a property and size is a method.
Peter Agyekum
Can we add more than one ‘document.ready’ function in a page?
Yes, we can add more than one document.ready function in a page. But, body.onload can be added once in a page.
Peter Agyekum
What is the use of jQuery load method?
jQuery load method is a powerful AJAX method which is used to load the data from a server and assign the data into the element without loading the page.
Peter Agyekum
Whether our own specific characters are used in place of $ in jQuery?
Yes, We can use our own variable in place of $ by using the method called no Conflict () method. var sample = $.noConflict()
Peter Agyekum
What are the four parameters used for jQuery Ajax method?
The four parameters are URL – Need to specify the URL to send the request type – Specifies type of request(Get or Post) data – Specifies data to be sent to server Cache – Whether the browser should cache the requested page
Peter Agyekum
What is the use of jQuery filter?
The jQuery filter is used to filter the certain values from the object list based on the criteria. Example is to filter certain products from the master list of products in a cart website.
Peter Agyekum
Which program is useful for testing jQuery?
QUnit is used to test jQuery and it is very easy and efficient.
Peter Agyekum
What is CDN?
CDN is abbreviated as Content Distribution network and it is said to be a group of companies in different location with network containing copies of data files to maximize bandwidth in accessing the data.
Peter Agyekum
What are the two types of CDNs?
There are two types of CDNs: Microsoft – Load jQuery from Ajax CDN Google – Load jQuery from Google libraries API
Peter Agyekum
Which sign is used as a shortcut for jQuery?
Dollar ($) sign is used as a shortcut for jQuery.
Peter Agyekum
Is jQuery is a client or server scripting?
jQuery is a client scripting.
Peter Agyekum
What is the script build up by jQuery?
jQuery is a Javascript file and it is single javascript file that contains common DOM, event effects and Ajax functions.
Peter Agyekum
How can we debug jQuery?
There are two ways to debug jQuery: Debugger keyword Add the debugger to the line from where we have to start debugging and then run Visual Studio in Debug mode with F5 function key. Insert a break point after attaching the process
Peter Agyekum
What are all the ways to include jQuery in a page?
Following are the ways to include jQuery in a page: Local copy inside script tag Remote copy of jQuery.com Remote copy of Ajax API Local copy of script manager control Embedded script using client script object
Peter Agyekum
What is the use of jQuery.ajax method ()?
jQuery.ajax method is used for asynchronous HTTP requests.
Peter Agyekum
Where can we download JQuery?
jQuery javascript can be downloaded from jQuery official website – www.jquery.com
Peter Agyekum
Is jQuery is a replacement of JavaScript?
No, jQuery is not a replacement of JavaScript.
Peter Agyekum
What is called chaining?
Chaining is used to connect multiple events and functions in a selector.
Peter Agyekum
What are the advantages of jQuery?
Following are the advantages of jQuery: Just a JavaScript enhancement Coding is simple, clear, reusable Removal of writing more complex conditions and loops
Peter Agyekum
Whether C# code behind can be called from jQuery?
Yes, we can call C# code behind from jQuery.
Peter Agyekum
What is the use of jQuery.data() method?
jQuery data method is used to associate data with DOM nodes and JavaScript objects. This method will make a code very concise and neat.
Peter Agyekum
What is the difference between onload() and document.ready()?
In a page, we can have only one onload function but we can have more than one document.ready function. Document.ready function is called when DOM is loaded but onload function is called when DOM and images are loaded on the page.
Peter Agyekum
What is the use of jQuery each function?
jQuery each function is used to loop through each and every element of the target jQuery object. It is also useful for multi element DOM, looping arrays and object properties.
Peter Agyekum
How method can be called inside code behind using jQuery?
$.ajax can be called and by declaring WebMethod inside code behind using jQuery.
Peter Agyekum
Which is the fastest selector in jQuery?
ID and Element are the fastest selectors in jQuery.
Peter Agyekum
What is the slowest selector in jQuery?
Class selectors are the slowest selectors in jQuery.
Peter Agyekum
Where jQuery code is getting executed?
jQuery code is getting executed on a client browser.
Peter Agyekum
What is the method used to define the specific character in place of $ sign?
'NoConflict’ method is used to reference a jQuery and save it in a variable. That variable can be used instead of Sign.
Peter Agyekum
Why jQuery is better than JavaScript?
jQuery is a library used for developing Ajax application and it helps to write the code clean and concise. It also handles events, animation and Ajax support applications.
Peter Agyekum
What are the types of selectors in jQuery?
There are three types of selectors in jQuery: CSS Selector XPath Selector Custom Selector
Peter Agyekum
What is the difference between jquery.min.js and jquery.js?
Answer: jquery.min.js is a compressed version of jquery.js(whitespaces and comments are removed, shorter variable names are used and so on) in order to preserve bandwidth. In terms of functionality, they are absolutely the same. It is recommended to use this compressed version in the production environment. The efficiency of web page increases when the minimized version of jQuery is used.
Peter Agyekum
What is difference between prop and attr?
jQuery.attr() Gets the value of an attribute for the first element in the set of matched elements. Whereas: jQuery. prop () Gets the value of a property for the first element in the set of matched elements.
Peter Agyekum
Difference between $(this) and this keyword in jQuery?
Could be a tricky questions for many jQuery beginners, but indeed it’s simplest one. $(this) returns a jQuery object, on which you can call several jQuery methods e.g. text() to retrieve text, val() to retrieve value etc, while this represent current element, and it’s one of the JavaScript keyword to denote current DOM element in a context. You can not call jQuery method on this, until it’s wrapped using $() function i.e. $(this).
Peter Agyekum
What is “Semantic HTML?”
Semantic HTML is a coding style where the tags embody what the text is meant to convey. In Semantic HTML, tags like for bold, and for italic should not be used, reason being they just represent formatting, and provide no indication of meaning or structure. The semantically correct thing to do is use strong and em. These tags will have the same bold and italic effects, while demonstrating meaning and structure (emphasis in this case).
Peter Agyekum
ert
ert
Peter Agyekum
What is JavaScript?
JavaScript? JavaScript is the Programming Language for the Web JavaScript can update and change both HTML and CSS JavaScript can calculate, manipulate and validate data Syntax : var x, y; // How to declare variables x = 5; y = 6; // How to assign values z = x + y; // How to compute values Strings are text, written within double or single quotes: "John Doe" 'John Doe'
Peter Agyekum
What is JavaScript Variables?
JavaScript Variables: - In a programming language, variables are used to store data values. JavaScript uses the var keyword to declare variables. An equal sign is used to assign values to variables var x; x = 6; // x is assigned the value of 6 ............................................................................................................................................................................................................... Comparison Operators The ‘==’ operator tests for abstract equality i.e. it does the necessary type conversions before doing the equality comparison. But the ‘===’ operator tests for strict equality i.e it will not do the type conversion hence if the two values are not of the same type, when compared, it will return false. Example script // In R.H.S. string "3" is converted into // number 3, hence returns true. document.write(9 == "9"); // used for next line document.write(br) // Here no type conversion takes place, // hence returns false document.write(9 === "9"); /script Output: true false
Peter Agyekum
JavaScript Exercise
Exercise Write a simple JavaScript program that on button click displays the current timestamp on screen. !DOCTYPE html html body h2 My First JavaScript h2 button type="button" onclick="document.getElementById('demo').innerHTML = Date()" // using the Date() function Click me to display Date and Time.button id="demo" // Using the id attribute body html
Peter Agyekum
What are the Decision making structures?
Decision making structures requires the programmer to specify one or more conditions to be evaluated or tested by the program, along with a statement or statements to be executed if the condition is determined to be true, and optionally, other statements to be executed if the condition is determined to be false. C# provides following types of decision making statements : IF Statement IF...ELSE Statement Nested IF Statement SWITCH Statement Nested SWITCH Statement
Back to HomePage