CLICK HERE FOR VARIOUS NEW JOBS 
CLICK HERE FOR VARIOUS EDUCATIONAL NEWS 
CLICK HERE FOR NEW SCHOLARSHIPS 
CLICK HERE FOR ADMISSION NOTICES 
Click And Follow On Google+ To Get Updates
Please Wait 10 Seconds... OR You CanSkip

ADMISSION NOTICES
Scholarships

Scholarship-300x291

BUDGET 2014-15
budget_2014-2015
New Date Sheets
VU SOLVED ASSIGNMENTS
Recent Posts

Posts Tagged ‘CS 101 assignmebnnt no 3 solution’

CS 101 assignmebnnt no 3 solution

CS 101 Assignmebnnt No 3 Solution

 CS 101 assignmebnnt no 3 solution

<html>
<head>
<title>Assignment No 3</title>
<script>
function inamplzcangthecountrynameandmyname(){
if(document.sendEmail.userid.value.length<=5){alert(“User id should not be empty / length be between 5 to 12″);}
var pasLen = document.sendEmail.password.value.length;
if(pasLen<1 || pasLen <6){alert(“Password should not be empty / length be between 7 to 12″);}}
function emailid(email)
{var mailformat = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;
if(email.value.match(mailformat))
{return true;}
else
{alert(“You have entered an invalid email address!”);return false;}}
function letrchk(uname){var letters = /^[A-Za-z]+$/;if(uname.value.match(letters))
{return true;}else{alert(‘Username must have alphabet characters only’);return false;}}
function *****(*****,*****)
{x=0;if(*****.checked){x++;} if(*****.checked)
{x++;}
if(x==0){alert(‘Select Male/Female’);}}
// Alert(ALI RAZA MARCHA);
function countryselect(country){if(country.value == “Default”)
{
alert(‘Select your country from the list’);return false;
}
else{return true;}}
</script>
</head><body>
<form name=”sendEmail” method=”post” >
<h1>Registration Form</h1>
<table width=”100%” border=”0″>
<tr>
<td>User ID:</td>
</tr>
<tr>
<td><input type=”text” name=”userid” ></td>
</tr>
<tr>
<td>Password:</td>
</tr>
<tr>
<td><input type=”password” name=”password” ></td>
</tr>
<tr>
<td>Name:</td>
</tr>
<tr>
<td><input name=”uname” type=”text” size=”50″></td>
</tr>
<tr>
<td>Country:</td>
</tr>
<tr>
<td><select name=”country”>
<option selected=”” value=”Default”>;(Please select a country)</option>
<option value=”pakistan”>Pakistan</option>
<option value=”Australia”>Australia</option>
<option value=”Saudi Arabia”>Saudi Arabia</option>
<option value=”Spain”>Spain</option>
<option value=”USA”>USA</option>
</select></td>
</tr>
<tr>
<td>Email:</td>
</tr>
<tr>
<td><input name=”email” type=”text” size=”50″></td>
</tr>
<tr>
<td>Gender:</td>
</tr>
<tr>
<td><label id=”gender”>*****:</label>
</li>
<br>
<input type=”radio” name=”*****” value=”Male” />
<span>Male</span>
<input type=”radio” name=”*****” value=”Female” />
<span>Female</span></td>
</tr>
<tr>
<td><input type=”submit” name=”button” value=”Submit” onClick=”(plz change the country name and apttern as well),letrchk(uname),countryselect(country),emailid(email),*****(*****,*****)” >
<input type=”submit” name=”button5″ value=”Reset”></td>
</tr>
</table>
</form>
</body>

CS 101 Assignmebnnt No 3 Solution

ALL NEW RESULTS
Educational News

Updated Educational News

Categories
POSTS BY DATE
December 2016
M T W T F S S
« Sep    
 1234
567891011
12131415161718
19202122232425
262728293031