
Search In
Draw an image using HTML5 Canvas
Hello friends, today I am going to tell you how to draw an image using HTML5 Canvas. Before moving ahead, first of all let us understand the basic of canvas. The HTML5 canvas is used to draw graphics using Ja
This is my controller :
@Controller
@RequestMapping(value = "/paymentgateway")
public class PaymentGatewayController {
@RequestMapping(value = "/checkPayStatusProposalID/{proposalID}", method = RequestMethod.GET)
@ResponseBody
public PGTransactio
Hello all,
Working with HTML and JavaScript we usually keep our JavaScript code in separate files to keep our code organized and manageable.
If we are using various plugins in our website which has lots of JavaScript files with it, in that case it
Hello Readers, If you developing the website to browse any file and showing its's content on the web page, Then by using Javascript you can do this as follows:-
function readSingleFile(e) {
var file = e.target.files[0];
if (!file) {
return;
Sub query is one the important section of database query.There are n number of situation where we want to implement sub query to fetch the data from the table. In Laravel 4.x there is no specific keyword to perform any
sub query.To perform sub query
If you want to get data from dictionary and add them into an array below code will help you,In this blog firstly i have created a NSMutableAarray and after that created a NSArray which contain the value like ram,13 etc then i created a NSMutableDicti
Hello Reader's If you are genrating the time in Unix time stamp and want to show it like 5 min ago or 3 hours ago then you can use the code below:-
Here we are using NOW of the unix timestamp
function timeSince(ts){
now = new Date();
ts = n
Hello All,
In this blog we will discuss about how to get all keys in mongoDb collection.
Sometimes we are in a situation in which we want only the keys not the data itself from the collection.
So as a result you can try by following below code to
Hello Reader's!
If you are looking to make your website pages more dynamic and light that loads the html sections as user scrolls down, Then you can use the code below:-
First thing is to make some corrections on the html page like. you need to set
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
