• No categories
Jun
1
2011

Add a class to html in jquery

here i am going to show you how we can add a class of css to html elements like a,p,h3 etc. You can see demo by copy Below given code and paste in text editor and save as html file and open in a web browser. you can download latest version of jquery from here […]

Jun
1
2011

Google Maps with JQuery

Here i am going to write a small code of javascript and jquery to show a google map on webpage. Before trying this you should have Google Maps API Key and latitude and longitude of place you want to show at the center of map. By the way here i have given a sample latitude […]

Jun
1
2011

enable disable in jquery

Hello Everybody, here i am going to show, how you can enable or disable a combobox with jquery. you can download latest version of jquery from here [download jquery]. In this code i used two functions of jquery for adding and removing a attribute(disabled). Jquery function attr(‘name’,’value’) is used to add an attribute to an […]

Jun
1
2011

Check Uncheck checkbox in jquery

Hello Everybody, here i am going to show, how you can check or uncheck a checkbox with jquery. you can download latest version of jquery from here [download jquery]. In this code i used two functions of jquery for adding and removing a attribute(disabled). Jquery function attr(‘name’,’value’) is used to add an attribute to an […]

Jun
1
2011

reset a form in jquery

you can download latest version of jquery from here [download jquery]. You can use below demo code to reset a html form. Copy and insert the following code to create a form and jquery code. <script> $(document).ready(function() { $(“#reset”).click(function() { $(“#myform”).reset(); }); }); </script> <form id=”myform” method=”post” action=”#”> <input type=”text” name=”n1″ size=”15″ /> <input type=”text” […]

Jun
1
2011

hide animate paragraph in jquery

you can download latest version of jquery from here [download jquery]. You can use below demo code to insert and hide a paragraph in slow speed. Copy and insert the following code : <script> $(function(){ $(“div.contents p[class^=para]“).click(function(){ $(this).hide(“slow”); }); }); </script> <div class=”contents”> <p class=”para1?>Punjab is a state in northwest India. The Indian state borders […]

Jun
1
2011

Create WordPress Theme

Today i am going to show you which files are needed or created to create a wordpress theme. This is a small tutorial which covers only the basics of theme creation, so it give you a clear view how to start creating themes of wordpress. You can download wordpress from wordpress.org. Commonly Used WordPress Theme […]

Jun
1
2011

Next Previous Buttons for MySql in PHP

Hello, today i am writing simple code how to iterate between lists of records in table. First of all php logic to maintain starting id of list and then a select query and after that adding buttons. The wrapper table will contain the records fetched from query results. include(“connection.php”); if(isset($_POST[‘startid’]) && isset($_POST[‘nextbtn’])) { $startid=$_POST[‘startid’]+30; } […]

Pages:«12