Friday, 7 November 2014

How to read image Using Jquery & Html5

How to read image  using jquery & html5 File reader API is used to read a file from your local hard drive We can find Atricle  about File reader DEMO  HTML PART : <input id="imageread" type="file" /> <canvas id="img"></canvas> Jquery Code : <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.1.min.js"></script> <script...

Monday, 3 November 2014

Add Extra Field Like Google Plus

Jquery code to add extra field using jquery. Demo  HTML PART : <div class='extdiv'> <input type="text" class="addmore"  /> </div> JQUERY CODE : <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.1.min.js"></script> <script> $(document).on("keyup",".extdiv...

Monday, 21 July 2014

Search By click

Another jQuery filter by click event Usage: Here my requirement is i need to search users by using their category(ex: music director and singer) on click As of now i don't have demo space.. Simply take a copy of this code and paste in a notepad then save as html open in browser and check <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Simple...

Simple Jquery text filter

A simple jquery filter  ..! Usage: Here my requirement is to search users by category (ex: music director and singer). By using this code we can filter users Demo <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type"...

Sunday, 20 July 2014

Why $(document).ready(function(){});?

Remember the traditional method of calling $(document).ready() ? <script> $(document).ready(function(){ // Code Goes Hear }); </script> We have to use this function in the head section of our html page. This is because we do not have all our elements instantiated when the page is being compiled. After loading the complete page,  we do not need to write $(document).ready(function(){...