student mark list program using javascript
#1

<html>
<head>
<title>Student Mark List</title>
</head>
<script language="javascript">
function total_1()
{
var m1=parseInt(document.form1.tamil.value);
var m2=parseInt(document.form1.english.value);
var m3=parseInt(document.form1.maths.value);
var m4=parseInt(document.form1.science.value);
var m5=parseInt(document.form1.social.value);
document.form1.total.value=m1+m2+m3+m4+m5;
}
function result_1()
{
var m1=parseInt(document.form1.tamil.value);
var m2=parseInt(document.form1.english.value);
var m3=parseInt(document.form1.maths.value);
var m4=parseInt(document.form1.science.value);
var m5=parseInt(document.form1.social.value);
if(m1>=35 && m2>=35 && m3>=35 && m4>=35 && m5>=35)
{
document.form1.result.value="pass";
}
else
{
document.form1.result.value="fail";
}
}
function disp()
{
document.write("<h1><center><u>STUDENT MARK

LIST</u></center></h1><table

border="0"><tr><td>Name:</td><td>"+document.form1.stuName.va

lue+"</td></tr><tr><td>No:</td><td>"+document.form1.stuNo.valu

e+"</td></tr><tr><td>Tamil:</td><td>"+document.form1.tamil.valu

e+"</td></tr><tr><td>English:</td><td>"+document.form1.english.v

alue+"</td></tr><tr><td>Maths:</td><td>"+document.form1.maths.

value+"</td></tr><tr><td>Science:</td><td>"+document.form1.scie

nce.value+"</td></tr><tr><td>Social</td><td>"+document.form1.so

cial.value+"</td></tr><tr><td>Total:</td><td>"+document.form1.tot

al.value+"</td></tr><tr><td>Result:</td><td>"+document.form1.res

ult.value+"</td></tr></table>");
}
</script>

<body><center><h1>Student Mark List</h1>
<form name="form1">
<table border="2">
<tr><td><label>Name</label></td><td><input type="text"

name="stuName"></td></tr>
<tr><td><label>No</label></td><td><input type="text"

name="stuNo"></td></tr>
<tr><td><label>Tamil</label></td><td><input type="text"

name="tamil"></td></tr>
<tr><td><label>English</label></td><td><input type="text"

name="english"></td></tr>
<tr><td><label>Maths</label></td><td><input type="text"

name="maths"></td></tr>
<tr><td><label>Science</label></td><td><input type="text"

name="science"></td></tr>

<tr><td><label>Social</label></td><td><input type="text"

name="social"></td></tr>

<tr><td><label>Total</label></td><td><input type="text"

name="total" ONFOCUS="total_1()"

ONFOCUS="result_1()"></td></tr>

<tr><td><label>Result</label></td><td><input type="text"

name="result"></td></tr>

<tr><td><input type="submit" name="s" value="Submit"

onclick="disp()"></td><td><input type="reset" name="r"

value="Reset"></tr>
</table>
</form>
</center>
</body>
</html>
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Tagged Pages: javascript program for marklist of students, using javascript mark list, javascript program to print 10 student marklist, javascript program to print the marklist for 10 students, html using student mark list in java program, mark list in javascript, mark list,
Popular Searches: php coding for updating student mark list, html form for student mark list, 5d mark ii, javascript program to print the marklist for 10 students, javascript getmousedata, student mark list using javascript, mark ward technology,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  student internal mark management project download 2 2,731 01-01-2019, 06:46 PM
Last Post: Krishnakumar2000
  program code of solar tracking system using 8051 microcontroller 6 24,131 03-05-2018, 09:30 PM
Last Post: Guest
  price list of oushadhi products 1 3,945 27-02-2018, 12:14 AM
Last Post: Guest
  list of underwater welding schools in india 3 10,553 16-12-2017, 11:12 AM
Last Post: jaseela123d
  sms based student intimation project with source code 7 3,673 12-06-2017, 09:39 AM
Last Post: jaseela123d
Wink student online counselling simple projects in core java with source code 3 6,886 10-06-2017, 10:21 AM
Last Post: jaseela123d
  mkoba teachers college list of successful students of 2016 intake 3 1,893 06-06-2017, 02:40 PM
Last Post: jaseela123d
Wink catalyser student login portal 2 2,201 12-05-2017, 03:05 PM
Last Post: Devansh Walke
  college of health kintampo 2014 2015 admission list 1 1,355 13-04-2017, 12:26 PM
Last Post: jaseela123d
  mtech environmental engineering seminars topics list 1 988 13-04-2017, 10:03 AM
Last Post: jaseela123d

Forum Jump: