
Search In
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
</head>
<body>
<img id="thumbnail" src="test.png" alt="Image"/>
<
To assign a click event to all paragraphs we use this method. this is the syntax:
$("p").click();
now, in next step when an event fires, You must pass a function to this event:
$("p").click(function(){
});
$(document).ready()
The $(document).rea
By using jquery event.pageX and event.pageY we find the coordinate of mouse. The PageX event shows the edges from left and the PageY event shows the edges from top.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf
Hello,
Here I am sharing some information related to circular graphs using Javascript.
JavaScript provides a library that generates circular graphs in SVG.
We need to include circles.js or circles.min.js file in the HTML file. It can be downloaded
This post demonstrates how to display an image prior to uploading it on server.
This demo uses the JavaScript's readAsDataURL method of reader API which will read image as url.
<html>
<head>
<script src="https://ajax.googl
To Add two fields to product for storing a latitude and a longitude, then for this you have to create a new form widget to display the latitude and longitude of a product's origin on a map.
Displaying the two position fields and a map widget using th
Push notifications are messages that allow an app to notify of a message similar to how a text message pops up on your screen with a sound.Code for Android ,Iphone API push notification is given below by using urban airship
Android Push Notificatio
Below is the code for sharing photo on facebook using ASIHTTPRequest.
- (void)publishStoryWithImage:(UIImage*)image andMessage:(NSString*)message
{
NSURL *url = [NSURL URLWithString:@"https://graph.facebook.com/me/photos"];
ASIFormDataReque
Download and Add framework
Step 1: Download and unzip the lastest version here: SDWebImage.Framework
Step 2: Right-click on the project navigator and select "Add Files to "Your Project": In the dialog, select SDWebImage.framework, and check the "C
Enable the Google+ API
First you should open the google API console. And Create an API project for your application.
On the Google API console click on Create Project ,enter the name of the project and then click on create.
In the Service
