Customize Youtube Playlist
How to customize Youtube Playlist so that playlist shows underneath the player? The default youtube embed code has the playlist inside the player and it’s small and not expandable. The following code...
View ArticleConvert AJAX Response to Global Variable in jQuery
You can’t convert Ajax response to global variable in jQuery in the same stream. For example, you can’t rely on an asynchronous request response to process global scope actions var globalvar =...
View ArticleBuild Ajax with jQuery in Drupal
https://gist.github.com/pascalduez/1418121 http://www.interactivejunky.com/tutorial/ajax-commands-drupal-7 http://www.systemseed.com/blog/serving-ajax-friendly-content-drupal The post Build Ajax with...
View ArticlejQuery: Use AJAX to Upload a File
<!-- Use jQuery UI to popup a modal window--> <link type="text/css" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/themes/ui-lightness/jquery-ui.css" rel="stylesheet" /> <script...
View Articlejquery: Submit a Form in a Modal Window Using Ajax
<html> <head> <script src="jquery-1.6.min.js" type="text/javascript"></script> <!-- Use jQuery UI to popup a modal window--> <script...
View ArticlejQuery: Form Validation Engine
Found another jquery plugin that does form validation pretty well jQuery Form Validation Engine: <link rel="stylesheet" href="../css/validationEngine.jquery.css" type="text/css"/> <link...
View ArticleJavascript: Add a Hash Without Refreshing Page
One way to build a better back button using Ajax is to add/change hash in the page url <!--Javascript--> function CheckForHash(){ if(document.location.hash){ var HashLocationName =...
View ArticleAjax: Form Field Validation Using Spry
Download Spry 1.6.1 package, and grab just a js and css file from the package. <script src="/js/SpryValidationTextField.js" type="text/javascript"></script> <link...
View ArticleA Simple AJAX Example
The following example updates the div regionlist when any value that is selected in the list. Here’s the html file. <body> <script src="selectRegions.js"></script> <form>...
View ArticleAJAX: Dynamic Form Fields Update and Keep Field Values if Form Submits to...
The following example shows how to automatically update another form field based on the change of a previous form field. The form submits to itself for validation. The html file: <body>...
View Article