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: studend mark list in javascriy example code, html using student mark list in java program, student details mark in java script, students mark list html code, write html program for creating 10 students marks list, write a html program to display the table of student marks, javascript code for student mark list,
Popular Searches: thanthi tv program list and timing, php coding for updating student mark list, student mark list, manufacturing technology ii two mark question with answer, vb form design for student mark details, project scheduling javascript, student mark list in jsp with servlet,

[-]
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,132 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: