Category: jQuery

How jQuery AJAX Scroll Down Event Handler work

jQuery AJAX Scroll Down Event Handler Javascript Event Handler For loading subsequent record set, we have to know whether the scrollbar reached the bottom of the window. The following Javascript event handlerwill check if the...

Facebook Style Like Unlike using PHP jQuery

Database Results to Like Unlike This code is for listing database results with like unlike icons based on the likes status. <table class=”demo-table”> <tbody> <tr> <th><strong>Tutorials</strong></th> </tr> <?php if(!empty($result)) { $ip_address = $_SERVER[‘REMOTE_ADDR’]; foreach ($result as $tutorial) {...

PHP and jQuery Dynamic Star Rating with Database

Display Star Rating for Database Results This PHP code is for reading Database results and adding stars for each. <?php require_once(“Rate.php”); $rate = new Rate(); $result = $rate->getAllPost(); if(!empty($result)) { foreach ($result as $tutorial)...

jQuery AJAX and PHP Voting System Create

HTML Up Down Vote Buttons This code contains PHP code for getting value for the up and down vote buttons attributes. These values will be varied based on the current voting status. <div id=”links-<?php...

PHP and jQuery AJAX Facebook Style URL Extract function

HTML Input to Call jQuery URL Extract This code has a text area which triggers the URL extract on its key-up event. <div id=”frm-extract”> <textarea id=”url” placeholder=”Enter the URL” onKeyup=”extractURL()”></textarea> <div id=”output”></div> </div> jQuery...

Using jqGrid Control with PHP

Loading Data to jqGrid from PHP script Let us have a simple example to load PHP data for grid UI shown using jqGrid. For that, we need to follow the steps listed below. Include...

AJAX Jquery php Database Add Edit Delete

AJAX Form to Perform Database Add Edit Delete We have form controls to enter user data and trigger AJAX event to perform database action. This code initially displays list of records from database table....

Pagination using jQuery AJAX

Sending Page Request via AJAX In this code, we are sending an initial request for a page getresult.php. This page will do all server side functions and respond to the pagination request. AJAX handlers...

Show Buttons
Hide Buttons
Social Media Auto Publish Powered By : XYZScripts.com