This is probably the coolest free add-on you can embed into your website in 120 seconds or less. SVG is…
how to show loader image before loading from ajax data php
<html><body><script language=”javascript”>function loaddata(){ datastring = ‘favour=’+id+’&itemsId=’+chkItem; jQuery.ajax({ type:…
Sliders or Range Selecter and Mobile Price Sliders jQuery
This post is a list of jQuery Mobile Price Sliders. These plugins can be used for numbers, prices or anything…
How to take a screenshot of the current screen of web page and save it as a png image through php
// an example html page<!DOCTYPE html><html><head> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script> <script type="text/javascript" src="./javascripts/html2canvas.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#screenshot').on('click', function(e){ e.preventDefault(); html2canvas($('body'), {…
how to get java script variable in php variable
First way =>——————————- <script>var x = document.write(“”<?php echo $b; ?>) ;alert(x);</script> ————————————– Second way =>————————————– <script> var id = jQuery(this).attr(“id”); var…
how to calculate price on change of item value
<script>$(document).ready(function(){ var x=parseInt($(“#env_amt”).val()); var y1=parseInt(0);// alert(x);//———-envolope price———– $(“.parax”).each(function(){ var y=parseInt($(this).val()); //alert(y); y1=y1+y; }); var z=(x*y1); $(“#para1”).html(z); $(“.parax”).keyup(function(){ var m =parseInt(1);var z1 = parseInt(0); var x=parseInt($(“#env_amt”).val()); var y1=parseInt(0); $(“.parax”).each(function(){…
save and fetch data through jquery / java script and php without data base using push and pop
//———————- SCRIPT PART ———–<script>function addondblclick1(addobj) { if($(‘.her1 .box ‘).size()< 5) { itemcounts++; var cat=$(addobj).attr(‘cat’); var catname=$(addobj).attr(‘catname’); var imagename=$(addobj).attr(‘imagename’); var imagecounter=$(addobj).attr(‘imagecounter’);…
how to fetch value of selected radio button in javascript
By the Loop through those elements to check which is checked. You can try document.getElementsByName(<button_name>) or document.getElementsByTagName("input") to get an…
Thumbnail Image Upload Example jQuery AJAX
We are showing here how to upload images using Ajax and show a thumbnail so I decided to do a…
how to Post Picture in Facebook Wall with PHP
Posting pictures on Facebook works similar as Posting to Facebook Page Wall, you can post not just photos, but questions, status,…

Recent Comments