Thursday, 25 July 2013

Useful Jquery

<!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" content="text/html; charset=iso-8859-1" />
<title>Useful Jquery</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>
var count =0;
$(document).ready(function () {
    $("#customButton1").click(function(){
        var div_id = "#div_show"+count;
        count++;
        $(div_id).append("<div id='div_show" + count + "'><input type='text' name='pro_name" + count + "' /> <input type='text' name='qty_name" + count + "' /></div>");
       
    });
    $("#customButton2").click(function() {
        if(count>0){
            var div_id = "#div_show"+count;
            count--;
            $(div_id).remove();
        }
       
    });
});
</script>
</head>

<body>

<div id="div_show0">&nbsp;</div>
<input type="button" id="customButton1" value="Add product and quantity textbox" />
<input type="button" id="customButton2" value="Remove product and quantity textbox" />
</body>
</html>


Wednesday, 3 July 2013

Message for everyone

This message is for everyone. If you are working as freelancer or have company, I may help you in promoting your site/blog through google plus/blog. I am promoting my blog at google plus and getting 50-60 page views daily. I will add you at google plus and so automatically your site/blog will be promoted.
Note : This is for no charge. Contact me through chat / email.

Tuesday, 2 July 2013

Beta

PHP Beta documents
PHP Beta documents


Have you seen this? Beta php documents. New stylish php documentation.