Posts

Showing posts from February, 2013

For supply fellows ....

Image
Reset exams for supply holders are starting from monday 4-march-2013. Submit your fees on Friday along with challan form in hbl bank township branch. If you can't reach there, just send me your info and I'll submit your form Fee: Rs 500/- download challan form n fill it First paper on monday is network design management

Wamp Server

Click here to download wamp server

Html code for check box

<HTML> <HEAD> <TITLE>JavaScript - Reading Checkboxes and Radio Buttons</TITLE> <SCRIPT LANGUAGE="JavaScript"> <!-- function showBoxes(frm){    var message = "Your chose:\n\n"    //For each checkbox see if it has been checked, record the value.    for (i = 0; i < frm.Music.length; i++)       if (frm.Music[i].checked){          message = message + frm.Music[i].value + "\n"       }    //For each radio button if it is checked get the value and break.    for (var i = 0; i < frm.Performer.length; i++){       if (frm.Performer[i].checked){          message = message + "\n" + frm.Performer[i].value          break       }    }    alert(message) } //NOTE THE onClick="" emp...

Html code for email validiation_1

<html><head> <script> function validateForm() { var x=document.forms["myForm"]["email"].value; var atpos=x.indexOf("@"); var dotpos=x.lastIndexOf("."); if (atpos<=1 || dotpos<atpos+2 || dotpos+2>=x.length)   {   alert("Not a valid e-mail address");   return false;   }   else   {         alert("valid email");    } } </script> </head> <body> <form name="myForm" onSubmit="return validateForm();" method="post"> Email: <input type="text" name="email"> <input type="submit" value="Submit"> * </form> </body>

Html code for email validiation

<html> <head> <script> function validate(form_id,email) {    var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;    var address = document.forms[form_id].elements[email].value;//alert(reg.test(address));    if(reg.test(address) == false) {       alert('Invalid Email Address');       return false;    } } </script> </head> <body> <form id="form_id" method="post" action="action.php" onSubmit="javascript:return validate('form_id','email');">    <input type="text" id="email" name="email" />    <input type="submit" value="Submit" /> </form> </body> </html>

Html code for index

<html> <body> <form action="test.php" method="get"  >   <input type="text" name="name" /> <input type="submit" value="click"/> </form> </body> </html>

Erp Presentations

  Data related to Erp Presentations provided by Sir Click here for link

Slides of Project Management

According to Sir Umer Farooq " I don't provide soft copy of my topic's slides cuz some students misuse it " OMG someone tell him there is a shit technology called scanner which converts hard copy into soft ............ :P Click on below link for new slides provided by sir (hard copy) in last lecture Slides of Project Time Management All previous slides are under P.Mang Tab ........... :) Thx Acchoo 4 scanner ............  :)

Code 4 form validation ( Simple )

<html> <head>       <title>Login Form</title> </head> <body <center> <h1 style="background-color:white;">log in form </h1> <hr style="color:white;"> <form method="post" action="abc.php"> First  Name : &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp<input type="text" name="text"/> <br> <br> Last Name : &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp<input type="text" name="text"/> <br> <br>     Password: &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp &nbsp<input type="password" name="pwd"/> <br> <br> Retype-Password: &nbsp<input type="password" name="pwd"/> <br> <br> Email : &nbsp...

Code 4 form validation by Bilal

<html> <head>       <title>Registration Form</title> </head> <body style="background-color:     #5F9EA0;"> <center> <h1 style="background-color:silver;"><blink>Registration Form</blink> </h1> <hr style="color:green;"> <form method="post" action="abc.php"> First  Name : &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp<input type="text" name="text"/> <br> <br> Last Name : &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp<input type="text" name="text"/> <br> <br>     Password: &nbsp    &nbsp    &nbsp  &nbsp   &nbsp  &nbsp &nbsp<input type="password" name="pwd"/> <br> <br> Retype-Passwo...

Code 4 form validation by Atiq

<!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=utf-8" /> <title>Msc I.T F11 A32</title> <style type="text/css"> .font{     font-size:18px; } </style> <script type="text/javascript"> function validate(){  var fname = document.getElementById("first").value;  var lname = document.getElementById("last").value;  var dob = document.getElementById("dob").value;  var address = document.getElementById("address").value;  var country = document.getElementById("country").value;  var city = document.getElementById("city").value;  var email = document.getElementById("email").value;  var pass = document.getElementById("pa...

Research Method