Currently Browsing: JavaScript
Database Fetching with AJAX and PHP
The main feature of a dynamic page is content fetching without refreshing the page. This is made easy by AJAX technology. An HTTP request is generated and sent to the server. After processing this request an answer is sent back to the browser. All of these happen without refreshing or leaving the page....
MooTools Rating Plug-In
MooTools Rating Plug-In Have you ever wondered how the rating stares work? In advanced JavaScript this has been never so easier. This kind of form elements generally found in blog for getting feedback of their usability. Some days before it was like some boring radio buttons or checkboxes. There is...
Create Menu With Checkbox
Checkbox Menu Many of e-commerce websites use checkbox menu with bulk processing feature. Checked options show their corresponding data along with the event. When the trigger is pulled then the event is called. Here is the reference for this task, AJAX from the jQuery docs. Now the syntax will look a...
Drag and Drop File Uploader
If you are feeling bored using same kind of html uploader, this article would help you much. Here we are using drag and drop option. Almost every browser is now has support for drag and drop upload system. Some web sites are using this for most upgraded UI. Here is a sample code for instance. The HTML...
Simple Animation
Making an animation using JavaScript is simple. Here is a script for moving an image right. Save image after naming ‘arrow.jpg’ in server root. Save this file ‘arrow.html’. Click start to animate image.   <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html...