Web2 Students
Learn web2 , web-services, and much more.
Tuesday, 6 August 2013
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"> </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>
<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"> </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>
Monday, 8 July 2013
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.
Note : This is for no charge. Contact me through chat / email.
Tuesday, 2 July 2013
Thursday, 20 June 2013
PHP 5.5 released now.
PHP 5.5 released now. (20-Jun-2013). For all changes, read the complete changelog.There are no big changes, important changes you can view at, Changes. More coming soon
Tuesday, 18 June 2013
Commercial email ACT
Copied from, http://business.ftc.gov/documents/bus61-can-spam-act-compliance-guide-businessSummary,Use proper header,Your “From,” “To,” “Reply-To,” etc should true not fake.
Subject should not be misleading.- If your email is ad, then clearly disclose that your message is an advertisement
. - Tell recipients where you’re located. This can be your current street address, a post office box you’ve registered with the U.S. Postal Service, or a private mailbox you’ve registered with a commercial mail receiving agency established under Postal Service regulations
- Any opt-out mechanism you offer must be able to process opt-out requests for at least 30 days after you send your message. Give Un-subscrition option and that email should not be block by our own server (like as spam). Also give options to select how to receive future emails. That should be clear (font, color, etc). You must honor a recipient's opt out request within 10 business days
- You can't sell emails to anyone.
Subscribe to:
Comments (Atom)
