• No categories
Browsing articles in "Uncategorized"
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