Getting and setting the value and the text of a selectbox using jQuery is very simple. Get selectbox value, get selectbox text, set selectbox value, set selectbox text, get selectedIndex, set selectedIndex ,etc. using jQuery are mentioned in this article.
Comments closedTutorials2learn Posts
Pre-loading the images is often necessary when using a new image content which was never used before on the page. This article shows the easiest way to pre-load the images with jQuery.
Comments closedThis tutorials briefs about how to check multiple conditions in single case in JavaScript switch statement.
Comments closedThere are many javaScript engines currently available. Different browsers use different javaScript engines. Script performance on browsers depend on the javaScript engine used in the browser.
Comments closedThis article shows how to send and return values using the modal dialog. We learn how to send an array object information to the modal dialog and return an Object back to the parent window.
Comments closedAdd new items to array – JavaScript
This article shows how to add new items to an array. To add new items to an array, you need to use .push() method. The push() method adds new elements to the end of an array. Below is the syntax to use .push() method.
Comments closedThe following function will return the last date of the month. This function is very much useful while calculating the last date of a particular month. The arguments passed into the function should be number.
Comments closedJSONP or “JSON with padding” is a complement to the base JSON data format, a pattern of usage that allows a page to request data from a server in a different domain. As a solution to this problem, JSONP is an alternative to a more recent method called Cross-Origin Resource Sharing .
Comments closedWhat is Ajax?
Ajax(shorthand for asynchronous JavaScript and XML) is a group of interrelated web development methods used on the client-side to create interactive web applications. With Ajax,web applications can retrieve data from the server asynchronously in the background without interfering with the display and behavior of the existing page. JavaScript and the XMLHttpRequest object provide a method for exchanging data asynchronously between browser and server to avoid full page reloads.
Comments closedLearn how to Get/Set the value from the select box or combo box using JavaScript! In this article, we have two simple functions which will do that job. To set these options using jQuery read: Get and Set the select box options using jQuery
Comments closed