The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> need help in webpage, HTML Javascript help needed
subhashish
post Oct 13 2011, 03:40 PM
Post #1





Group: Members
Posts: 1
Joined: 13-October 11
Member No.: 15,616



Hi all,
I have created a webpage with 21 members info. But instead of clicking the buttons ABD and Available to get the results can I call all the functions with only 2 button click or any other easier method? I am new in HTML so pls help.
The code is

:

<html>
<head>
<title>Resource Utilization Sheet</title>
<script type="text/javascript">
function addtext() {
var newtext = document.myform.inputtext.value;
document.myform.outputtext.value = newtext;
}
</script>
<script language="javascript">

var ansD1;
function addNumbers1()
{
var val1 = parseFloat(document.getElementById("value1").value);
var val2 = parseFloat(document.getElementById("value2").value);

ansD1 = document.getElementById("answer");
ansD1.value = val1 - val2;
}

function xz()
{
var val3 = parseFloat(document.getElementById("value3").value);
var val4 = parseFloat(document.getElementById("value4").value);

ansD2 = document.getElementById("answerss");
ansD2.value = val3 - val4;
}
function addNumbers3()
{
var val5 = parseFloat(document.getElementById("value5").value);
var val6 = parseFloat(document.getElementById("value6").value);

var ansD3 = document.getElementById("answer2");
ansD3.value = val5 - val6;
}
function addNumbers4()
{
var val7 = parseFloat(document.getElementById("value7").value);
var val8 = parseFloat(document.getElementById("value8").value);

var ansD4 = document.getElementById("answer3");
ansD4.value = val7 - val8;
}
function addNumbers5()
{
var val9 = parseFloat(document.getElementById("value9").value);
var val10 = parseFloat(document.getElementById("value10").value);

var ansD5 = document.getElementById("answer4");
ansD5.value = val9 - val10;
}
function addNumbers6()
{
var val11 = parseFloat(document.getElementById("value11").value);
var val12 = parseFloat(document.getElementById("value12").value);

var ansD6 = document.getElementById("answer5");
ansD6.value = val11 - val12;
}
function addNumbers7()
{
var val13 = parseFloat(document.getElementById("value13").value);
var val14 = parseFloat(document.getElementById("value14").value);

var ansD7 = document.getElementById("answer6");
ansD7.value = val13 - val14;
}
function addNumbers8()
{
var val15 = parseFloat(document.getElementById("value15").value);
var val16 = parseFloat(document.getElementById("value16").value);

var ansD8 = document.getElementById("answer7");
ansD8.value = val15 - val16;
}
function addNumbers9()
{
var val17 = parseFloat(document.getElementById("value17").value);
var val18 = parseFloat(document.getElementById("value18").value);

var ansD9 = document.getElementById("answer8");
ansD9.value = val17 - val18;
}
function addNumbers10()
{
var val19 = parseFloat(document.getElementById("value19").value);
var val20 = parseFloat(document.getElementById("value20").value);

var ansD10 = document.getElementById("answer9");
ansD10.value = val19 - val20;
}
function addNumbers11()
{
var val21 = parseFloat(document.getElementById("value21").value);
var val22 = parseFloat(document.getElementById("value22").value);

var ansD11 = document.getElementById("answer10");
ansD11.value = val21 - val22;
}
function addNumbers12()
{
var val23 = parseFloat(document.getElementById("value23").value);
var val24 = parseFloat(document.getElementById("value24").value);

var ansD12 = document.getElementById("answer11");
ansD12.value = val23 - val24;
}
function addNumbers13()
{
var val25 = parseFloat(document.getElementById("value25").value);
var val26 = parseFloat(document.getElementById("value26").value);

var ansD13 = document.getElementById("answer12");
ansD13.value = val25 - val26;
}
function addNumbers14()
{
var val27 = parseFloat(document.getElementById("value27").value);
var val28 = parseFloat(document.getElementById("value28").value);

var ansD14 = document.getElementById("answer13");
ansD14.value = val27 - val28;
}
function addNumbers15()
{
var val29 = parseFloat(document.getElementById("value29").value);
var val30 = parseFloat(document.getElementById("value30").value);

var ansD15 = document.getElementById("answer14");
ansD15.value = val29 - val30;
}
function addNumbers16()
{
var val31 = parseFloat(document.getElementById("value31").value);
var val32 = parseFloat(document.getElementById("value32").value);

var ansD16 = document.getElementById("answer15");
ansD16.value = val31 - val32;
}
function addNumbers17()
{
var val33 = parseFloat(document.getElementById("value33").value);
var val34 = parseFloat(document.getElementById("value34").value);

var ansD17 = document.getElementById("answer16");
ansD17.value = val33 - val34;
}
function addNumbers18()
{
var val35 = parseFloat(document.getElementById("value35").value);
var val36 = parseFloat(document.getElementById("value36").value);

var ansD18 = document.getElementById("answer17");
ansD18.value = val35 - val36;
}
function addNumbers19()
{
var val37 = parseFloat(document.getElementById("value37").value);
var val38 = parseFloat(document.getElementById("value38").value);

var ansD19 = document.getElementById("answer18");
ansD19.value = val37 - val38;
}
function addNumbers20()
{
var val39 = parseFloat(document.getElementById("value39").value);
var val40 = parseFloat(document.getElementById("value40").value);

var ansD20 = document.getElementById("answer19");
ansD20.value = val39 - val40;
}
function addNumbers21()
{
var val41 = parseFloat(document.getElementById("value41").value);
var val42 = parseFloat(document.getElementById("value42").value);

var ansD21 = document.getElementById("answer20");
ansD21.value = val41 - val42;
}

function available1()
{

var a1 = parseFloat(document.getElementById("v1").value);
var a2 = parseFloat(document.getElementById("v2").value);
var a3 = parseFloat(document.getElementById("v3").value);
var a4 = parseFloat(document.getElementById("v4").value);
var a5 = parseFloat(document.getElementById("v5").value);
var a6 = parseFloat(document.getElementById("v6").value);
var a7 = parseFloat(document.getElementById("v7").value);
var a8 = parseFloat(document.getElementById("v8").value);
var a9 = parseFloat(document.getElementById("v9").value);
var a10 = parseFloat(document.getElementById("v10").value);
var result1 = document.getElementById("ans1");
result1.value = 19 - (a1 + a2 + a3 + a4 + a5 + a6 + a7 + a8 + a9 + a10); //change 19 to result of ansD1 every month
}
function available2()
{

var b1 = parseFloat(document.getElementById("v11").value);
var b2 = parseFloat(document.getElementById("v12").value);
var b3 = parseFloat(document.getElementById("v13").value);
var b4 = parseFloat(document.getElementById("v14").value);
var b5 = parseFloat(document.getElementById("v15").value);
var b6 = parseFloat(document.getElementById("v16").value);
var b7 = parseFloat(document.getElementById("v17").value);
var b8 = parseFloat(document.getElementById("v18").value);
var b9 = parseFloat(document.getElementById("v19").value);
var b10 = parseFloat(document.getElementById("v20").value);
var result2 = document.getElementById("ans2");
result2.value = 9 - (b1 + b2 + b3 + b4 + b5 + b6 + b7 + b8 + b9 + b10); //change 9 to result of ansD2 every month
}

function available3()
{

var c1 = parseFloat(document.getElementById("v21").value);
var c2 = parseFloat(document.getElementById("v22").value);
var c3 = parseFloat(document.getElementById("v23").value);
var c4 = parseFloat(document.getElementById("v24").value);
var c5 = parseFloat(document.getElementById("v25").value);
var c6 = parseFloat(document.getElementById("v26").value);
var c7 = parseFloat(document.getElementById("v27").value);
var c8 = parseFloat(document.getElementById("v28").value);
var c9 = parseFloat(document.getElementById("v29").value);
var c10 = parseFloat(document.getElementById("v30").value);
var result3 = document.getElementById("ans3");
result3.value = 22 - (c1 + c2 + c3 + c4 + c5 + c6 + c7 + c8 + c9 + c10); //change 22 to result of ansD3 every month
}
function available4()
{

var d1 = parseFloat(document.getElementById("v31").value);
var d2 = parseFloat(document.getElementById("v32").value);
var d3 = parseFloat(document.getElementById("v33").value);
var d4 = parseFloat(document.getElementById("v34").value);
var d5 = parseFloat(document.getElementById("v35").value);
var d6 = parseFloat(document.getElementById("v36").value);
var d7 = parseFloat(document.getElementById("v37").value);
var d8 = parseFloat(document.getElementById("v38").value);
var d9 = parseFloat(document.getElementById("v39").value);
var d10 = parseFloat(document.getElementById("v40").value);
var result4 = document.getElementById("ans4");
result4.value = 21 - (d1 + d2 + d3 + d4 + d5 + d6 + d7 + d8 + d9 + d10); //change 21 to result of ansD4 every month
}
function available5()
{

var e1 = parseFloat(document.getElementById("v41").value);
var e2 = parseFloat(document.getElementById("v42").value);
var e3 = parseFloat(document.getElementById("v43").value);
var e4 = parseFloat(document.getElementById("v44").value);
var e5 = parseFloat(document.getElementById("v45").value);
var e6 = parseFloat(document.getElementById("v46").value);
var e7 = parseFloat(document.getElementById("v47").value);
var e8 = parseFloat(document.getElementById("v48").value);
var e9 = parseFloat(document.getElementById("v49").value);
var e10 = parseFloat(document.getElementById("v50").value);
var result5 = document.getElementById("ans5");
result5.value = 20 - (e1 + e2 + e3 + e4 + e5 + e6 + e7 + e8 + e9 + e10); //change 20 to result of ansD5 every month
}
function available6()
{

var f1 = parseFloat(document.getElementById("v51").value);
var f2 = parseFloat(document.getElementById("v52").value);
var f3 = parseFloat(document.getElementById("v53").value);
var f4 = parseFloat(document.getElementById("v54").value);
var f5 = parseFloat(document.getElementById("v55").value);
var f6 = parseFloat(document.getElementById("v56").value);
var f7 = parseFloat(document.getElementById("v57").value);
var f8 = parseFloat(document.getElementById("v58").value);
var f9 = parseFloat(document.getElementById("v59").value);
var f10 = parseFloat(document.getElementById("v60").value);
var result6 = document.getElementById("ans6");
result6.value = 21 - (f1 + f2 + f3 + f4 + f5 + f6 + f7 + f8 + f9 + f10); //change 21 to result of ansD6 every month
}
function available7()
{

var g1 = parseFloat(document.getElementById("v61").value);
var g2 = parseFloat(document.getElementById("v62").value);
var g3 = parseFloat(document.getElementById("v63").value);
var g4 = parseFloat(document.getElementById("v64").value);
var g5 = parseFloat(document.getElementById("v65").value);
var g6 = parseFloat(document.getElementById("v66").value);
var g7 = parseFloat(document.getElementById("v67").value);
var g8 = parseFloat(document.getElementById("v68").value);
var g9 = parseFloat(document.getElementById("v9").value);
var g10 = parseFloat(document.getElementById("v70").value);
var result7 = document.getElementById("ans7");
result7.value = 19 - (g1 + g2 + g3 + g4 + g5 + g6 + g7 + g8 + g9 + g10); //change 19 to result of ansD7 every month
}
function available8()
{

var h1 = parseFloat(document.getElementById("v71").value);
var h2 = parseFloat(document.getElementById("v72").value);
var h3 = parseFloat(document.getElementById("v73").value);
var h4 = parseFloat(document.getElementById("v74").value);
var h5 = parseFloat(document.getElementById("v75").value);
var h6 = parseFloat(document.getElementById("v76").value);
var h7 = parseFloat(document.getElementById("v77").value);
var h8 = parseFloat(document.getElementById("v78").value);
var h9 = parseFloat(document.getElementById("v79").value);
var h10 = parseFloat(document.getElementById("v80").value);
var result8 = document.getElementById("ans8");
result8.value = 20 - (h1 + h2 + h3 + h4 + h5 + h6 + h7 + h8 + h9 + h10); //change 20 to result of ansD8 every month
}
function available9()
{

var i1 = parseFloat(document.getElementById("v81").value);
var i2 = parseFloat(document.getElementById("v82").value);
var i3 = parseFloat(document.getElementById("v83").value);
var i4 = parseFloat(document.getElementById("v84").value);
var i5 = parseFloat(document.getElementById("v85").value);
var i6 = parseFloat(document.getElementById("v86").value);
var i7 = parseFloat(document.getElementById("v87").value);
var i8 = parseFloat(document.getElementById("v88").value);
var i9 = parseFloat(document.getElementById("v89").value);
var i10 = parseFloat(document.getElementById("v90").value);
var result9 = document.getElementById("ans9");
result9.value = 20 - (i1 + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9 + i10); //change 20 to result of ansD9 every month
}
function available10()
{

var j1 = parseFloat(document.getElementById("91").value);
var j2 = parseFloat(document.getElementById("92").value);
var j3 = parseFloat(document.getElementById("93").value);
var j4 = parseFloat(document.getElementById("94").value);
var j5 = parseFloat(document.getElementById("95").value);
var j6 = parseFloat(document.getElementById("96").value);
var j7 = parseFloat(document.getElementById("97").value);
var j8 = parseFloat(document.getElementById("98").value);
var j9 = parseFloat(document.getElementById("99").value);
var j10 = parseFloat(document.getElementById("v100").value);
var result10 = document.getElementById("ans10");
result10.value = 20 - (j1 + j2 + j3 + j4 + j5 + j6 + j7 + 8 + j9 + j10); //change 20 to result of ansD10 every month
}
function available11()
{

var k1 = parseFloat(document.getElementById("v101").value);
var k2 = parseFloat(document.getElementById("v102").value);
var k3 = parseFloat(document.getElementById("v103").value);
var k4 = parseFloat(document.getElementById("v104").value);
var k5 = parseFloat(document.getElementById("v105").value);
var k6 = parseFloat(document.getElementById("v106").value);
var k7 = parseFloat(document.getElementById("v107").value);
var k8 = parseFloat(document.getElementById("v108").value);
var k9 = parseFloat(document.getElementById("v109").value);
var k10 = parseFloat(document.getElementById("v110").value);
var result11 = document.getElementById("ans11");
result11.value = 19.5 - (k1 + k2 + k3 + k4 + k5 + k6 + k7 + k8 + k9 + k10); //change 19.5 to result of ansD11 every month
}
function available12()
{

var l1 = parseFloat(document.getElementById("v111").value);
var l2 = parseFloat(document.getElementById("v112").value);
var l3 = parseFloat(document.getElementById("v113").value);
var l4 = parseFloat(document.getElementById("v114").value);
var l5 = parseFloat(document.getElementById("v115").value);
var l6 = parseFloat(document.getElementById("v116").value);
var l7 = parseFloat(document.getElementById("v117").value);
var l8 = parseFloat(document.getElementById("v118").value);
var l9 = parseFloat(document.getElementById("v119").value);
var l10 = parseFloat(document.getElementById("v120").value);
var result12 = document.getElementById("ans12");
result12.value = 19 - (l1 + l2 + l3 + l4 + l5 + l6 + l7 + l8 + l9 + l10); //change 19 to result of ansD12 every month
}
function available13()
{

var m1 = parseFloat(document.getElementById("v121").value);
var m2 = parseFloat(document.getElementById("v122").value);
var m3 = parseFloat(document.getElementById("v123").value);
var m4 = parseFloat(document.getElementById("v124").value);
var m5 = parseFloat(document.getElementById("v125").value);
var m6 = parseFloat(document.getElementById("v126").value);
var m7 = parseFloat(document.getElementById("v127").value);
var m8 = parseFloat(document.getElementById("v128").value);
var m9 = parseFloat(document.getElementById("v129").value);
var m10 = parseFloat(document.getElementById("v130").value);
var result13 = document.getElementById("ans13");
result13.value = 18 - (m1 + m2 + m3 + m4 + m5 + m6 + m7 + m8 + m9 + m10); //change 18 to result of ansD13 every month
}
function available14()
{

var n1 = parseFloat(document.getElementById("v131").value);
var n2 = parseFloat(document.getElementById("v132").value);
var n3 = parseFloat(document.getElementById("v133").value);
var n4 = parseFloat(document.getElementById("v134").value);
var n5 = parseFloat(document.getElementById("v135").value);
var n6 = parseFloat(document.getElementById("v136").value);
var n7 = parseFloat(document.getElementById("v137").value);
var n8 = parseFloat(document.getElementById("v138").value);
var n9 = parseFloat(document.getElementById("v139").value);
var n10 = parseFloat(document.getElementById("v140").value);
var result14 = document.getElementById("ans14");
result14.value = 18.5 - (n1 + n2 + n3 + n4 + n5 + n6 + n7 + n8 + n9 + n10); //change 18.5 to result of ansD14 every month
}
function available15()
{

var o1 = parseFloat(document.getElementById("v141").value);
var o2 = parseFloat(document.getElementById("v142").value);
var o3 = parseFloat(document.getElementById("v143").value);
var o4 = parseFloat(document.getElementById("v144").value);
var o5 = parseFloat(document.getElementById("v145").value);
var o6 = parseFloat(document.getElementById("v146").value);
var o7 = parseFloat(document.getElementById("v147").value);
var o8 = parseFloat(document.getElementById("v148").value);
var o9 = parseFloat(document.getElementById("v149").value);
var o10 = parseFloat(document.getElementById("v150").value);
var result15 = document.getElementById("ans15");
result15.value = 18 - (o1 + o2 + o3 + o4 + o5 + o6 + o7 + o8 + o9 + o10); //change 18 to result of ansD15 every month
}
function available16()
{

var p1 = parseFloat(document.getElementById("v151").value);
var p2 = parseFloat(document.getElementById("v152").value);
var p3 = parseFloat(document.getElementById("v153").value);
var p4 = parseFloat(document.getElementById("v154").value);
var p5 = parseFloat(document.getElementById("v155").value);
var p6 = parseFloat(document.getElementById("v156").value);
var p7 = parseFloat(document.getElementById("v157").value);
var p8 = parseFloat(document.getElementById("v158").value);
var p9 = parseFloat(document.getElementById("v159").value);
var p10 = parseFloat(document.getElementById("v160").value);
var result16 = document.getElementById("ans16");
result16.value = 17 - (p1 + p2 + p3 + p4 + p5 + p6 + p7 + p8 + p9 + p10); //change 17 to result of ansD16 every month
}
function available17()
{

var q1 = parseFloat(document.getElementById("v161").value);
var q2 = parseFloat(document.getElementById("v162").value);
var q3 = parseFloat(document.getElementById("v163").value);
var q4 = parseFloat(document.getElementById("v164").value);
var q5 = parseFloat(document.getElementById("v165").value);
var q6 = parseFloat(document.getElementById("v166").value);
var q7 = parseFloat(document.getElementById("v167").value);
var q8 = parseFloat(document.getElementById("v168").value);
var q9 = parseFloat(document.getElementById("v169").value);
var q10 = parseFloat(document.getElementById("v170").value);
var result17 = document.getElementById("ans17");
result17.value = 19 - (q1 + q2 + q3 + q4 + q5 + q6 + q7 + q8 + q9 + q10); //change 19 to result of ansD17 every month
}
function available18()
{

var r1 = parseFloat(document.getElementById("v171").value);
var r2 = parseFloat(document.getElementById("v172").value);
var r3 = parseFloat(document.getElementById("v173").value);
var r4 = parseFloat(document.getElementById("v174").value);
var r5 = parseFloat(document.getElementById("v175").value);
var r6 = parseFloat(document.getElementById("v176").value);
var r7 = parseFloat(document.getElementById("v177").value);
var r8 = parseFloat(document.getElementById("v178").value);
var r9 = parseFloat(document.getElementById("v179").value);
var r10 = parseFloat(document.getElementById("v180").value);
var result18 = document.getElementById("ans18");
result18.value = 19 - (r1 + r2 + r3 + r4 + r5 + r6 + r7 + r8 + r9 + r10); //change 19 to result of ansD18 every month
}
function available19()
{

var s1 = parseFloat(document.getElementById("v181").value);
var s2 = parseFloat(document.getElementById("v182").value);
var s3 = parseFloat(document.getElementById("v183").value);
var s4 = parseFloat(document.getElementById("v184").value);
var s5 = parseFloat(document.getElementById("v185").value);
var s6 = parseFloat(document.getElementById("v186").value);
var s7 = parseFloat(document.getElementById("v187").value);
var s8 = parseFloat(document.getElementById("v188").value);
var s9 = parseFloat(document.getElementById("v189").value);
var s10 = parseFloat(document.getElementById("v190").value);
var result19 = document.getElementById("ans19");
result19.value = 19.5 - (s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10); //change 19.5 to result of ansD19 every month
}
function available20()
{

var t1 = parseFloat(document.getElementById("v191").value);
var t2 = parseFloat(document.getElementById("v192").value);
var t3 = parseFloat(document.getElementById("v193").value);
var t4 = parseFloat(document.getElementById("v194").value);
var t5 = parseFloat(document.getElementById("v195").value);
var t6 = parseFloat(document.getElementById("v196").value);
var t7 = parseFloat(document.getElementById("v197").value);
var t8 = parseFloat(document.getElementById("v198").value);
var t9 = parseFloat(document.getElementById("v199").value);
var t10 = parseFloat(document.getElementById("v200").value);
var result20 = document.getElementById("ans20");
result20.value = 17 - (t1 + t2 + t3 + t4 + t5 + t6 + t7 + t8 + t9 + t10); //change 17 to result of ansD20 every month
}
function available21()
{

var u1 = parseFloat(document.getElementById("v201").value);
var u2 = parseFloat(document.getElementById("v202").value);
var u3 = parseFloat(document.getElementById("v203").value);
var u4 = parseFloat(document.getElementById("v204").value);
var u5 = parseFloat(document.getElementById("v205").value);
var u6 = parseFloat(document.getElementById("v206").value);
var u7 = parseFloat(document.getElementById("v207").value);
var u8 = parseFloat(document.getElementById("v208").value);
var u9 = parseFloat(document.getElementById("v209").value);
var u10 = parseFloat(document.getElementById("v210").value);
var result21 = document.getElementById("ans21");
result21.value = 20 - (u1 + u2 + u3 + u4 + u5 + u6 + u7 + u8 + u9 + u10); //change 20 to result of ansD21 every month
}

function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
} else {
window.onload = function() {
if (oldonload) {
oldonload();
}
func();
}
}
}
addLoadEvent(addNumbers1);
addLoadEvent(addNumbers2);
addLoadEvent(addNumbers3);
addLoadEvent(addNumbers4);


</script>
<fieldset width=50%>
<h1 align=center >Resource Utilization Sheet</h1>
</fieldset>
<style type="text/css">
table {

width:90%;
border-collapse:collapse;

}


}
th {
font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica,
sans-serif;
color: #6D929B;
border-right: 1px solid #C1DAD7;
border-bottom: 1px solid #C1DAD7;
border-top: 1px solid #C1DAD7;
letter-spacing: 1px;
text-transform: uppercase;
text-align: center;
padding: 1px 1px 1px 6px;
background: #CAE8EA url(images/bg_header.jpg) no-repeat;
}

th.nobg {
border-top: 0;
border-left: 0;
border-right: 1px solid #C1DAD7;
background: none;
}
th.spec {
border-left: 1px solid #C1DAD7;
border-top: 0;
background: #fff url(images/bullet1.gif) no-repeat;
font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica,
sans-serif;
}

}

th.specalt {
border-left: 1px solid #C1DAD7;
border-top: 0;
background: #f5fafa url(images/bullet2.gif) no-repeat;
font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica,
sans-serif;
color: #B4AA9D;
}
td {
border-right: 1px solid #C1DAD7;
border-bottom: 1px solid #C1DAD7;

background-color: #fff;
padding: 1px 1px 1px 6px;
color: #6D929B;
}


td.alt {
background: #F5FAFA;
color: #B4AA9D;
}


</style>



</head>

<!-- Body begins here-- >
<body onload="addLoadEvent()";>
<form name="input" action="html_form_action.php" method="post">

<fieldset>
<legend> Details of working days </legend>
Number of Offshore Days=<select><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option><option>17</option><option>18</option><option>19</option><option>20</option><option value="21" selected ="21">21</option><option>22</option><option>23</option><option>24</option><option>25</option><option>26</option><option>27</option><option>28</option><option>29</option><option>30</option><option>31</option></select><br>
Number of Offshore Days in month=<select><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option><option>17</option><option>18</option><option>19</option><option>20</option><option value="22" selected="21">21</option><option>22</option><option>23</option><option>24</option><option>25</option><option>26</option><option>27</option><option>28</option><option>29</option><option>30</option><option>31</option></select>
<script type="text/javascript">
var txt ="<br>" + "Number of Resources in the project Indian working days: 26" + "<br>"+ "Number of Resources in the project UK working days: 2 ";
document.write(txt);

</script>
</fieldset>
<table>
<tr>
<th>Emp. No.</th>
<th>Resource</th>
<th>Team</th>
<th>Grade</th>
<th>SFIA Grade</th>
<th>BT Line Manager </th>
<th>Offshore</th>
<th>On-Days</th>
<th>Off-Days</th>
<th>Leaves</th>
<th>Available Billable days</th>
<th>Availble days for booking</th>
<th>CSS SUPP. FOR CCP 26 AUG/SEP 11</th>
<th>CSS SUPP. FOR UKB R15 IN AUG/SEP 11</th>
<th>CSS SUPP. FOR UKBM R9 IN AUG/SEPT 11</th>
<th>CSS SUPP. FOR BCP10_EWMP-7252 IN AUG/SEP 11</th>
<th>CSS BILLING DEV. FOR BCP11 IN AUG/SEPT 11</th>
<th>CSS SUPP. FOR EMP R1800 AUG 11</th>
<th>CSS DEV. FOR UKBM R9/R10 AUG11</th>
<th>CSS DEV. FOR UKB R15 AUG11</th>
<th>CSS DEV. FOR EMP R1800 AUG 11</th>
<th>CSS DEV. TOP UP QUOTE AUG 11</th>
</tr>
<tr>
<td><abbr title="Emp. No">9134</abbr> </td>
<td><abbr title="Resource">Vinod Sharma MS</abbr></td>
<td>CSSDD</td>
<td>TG4</td>
<td>6</td>
<td>John Banner</td>
<td>Y</td>
<td>0</td>
<td><input type="text" style="width:50px;" id="value1" name="outputtext" value="21.0"/></td>
<td><input type="text"style="width:50px;" id="value2" name="value2" value="2.0"/></td>
<td><input type="button" name="Sumbit" value="ABD" onClick="java script:addNumbers1()"/>
<input type="text" style="width:50px;" id="answer" name="answer1" value=""/></td>

<td><input type="button" name="Subit" value="Booking Avail" onClick="java script:available1()"/>

<input type="text" style="width:50px;" id="ans1" name="ans1" value=""/></td>

<td><input type="text" style="width:50px;" id="v1" value="0" /></td>
<td><input type="text" style="width:50px;" id="v2" value="0" /></td>
<td><input type="text" style="width:50px;" id="v3" value="0" /></td>
<td><input type="text" style="width:50px;" id="v4" value="0" /></td>
<td><input type="text" style="width:50px;" id="v5" value="0" /></td>
<td><input type="text" style="width:50px;" id="v6" value="0" /></td>
<td><input type="text" style="width:50px;" id="v7" value="0" /></td>
<td><input type="text" style="width:50px;" id="v8" value="0" /></td>
<td><input type="text" style="width:50px;" id="v9" value="0" /></td>
<td><input type="text" style="width:50px;" id="v10" value="0" /></td>

</tr>

<tr>
<td class="alt">12090</td>
<td class="alt">Jasmin Vasant</td>
<td class="alt">CSSDD</td>
<td class="alt">TG2</td>
<td class="alt">5</td>
<td class="alt">John Banner</td>
<td class="alt">Y</td>
<td class="alt">0</td>
<td class="alt"><input type="text" style="width:50px;" id="value3" name="outputtext" value="21.0"/></td>
<td class="alt"><input type="text" style="width:50px;" id="value4" name="value2" value="12.0"/></td>
<td class="alt"><input type="button" name="Sumbit" value="ABD" onClick="java script:xz()"/>
<input type="text" style="width:50px;" id="answerss" value=""/></td>

<td class="alt"><input type="button" name="Subit" value="Booking Avail." onClick="java script:available2()"/>

<input type="text" style="width:50px;" id="ans2" name="ans2" value=""/></td>

<td class="alt"><input type="text" style="width:50px;" id="v11" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v12" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v13" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v14" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v15" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v16" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v17" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v18" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v19" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v20" value="0" /></td>

</tr>

<tr>
<td>16699</td>
<td>Chetan Yerlekar</td>
<td>CSSDD</td>
<td>TG2</td>
<td>5</td>
<td>John Banner</td>
<td><b>N</b></td>
<td>22</td>
<td><input type="text" style="width:50px;" id="value5" name="" value="22"/></td>
<td><input type="text" style="width:50px;" id="value6" name="value2" value="0"/></td>
<td><input type="button" name="Sumbit" value="ABD" onClick="java script:addNumbers3()"/>
<input type="text" style="width:50px;" id="answer2" name="answer2" value=""/></td>
<td><input type="button" name="Subit" value="Booking Avail." onClick="java script:available3()"/>

<input type="text" style="width:50px;" id="ans3" name="ans1" value=""/></td>
<td><input type="text" style="width:50px;" id="v21" value="0" /></td>
<td><input type="text" style="width:50px;" id="v22" value="0" /></td>
<td><input type="text" style="width:50px;" id="v23" value="0" /></td>
<td><input type="text" style="width:50px;" id="v24" value="0" /></td>
<td><input type="text" style="width:50px;" id="v25" value="0" /></td>
<td><input type="text" style="width:50px;" id="v26" value="0" /></td>
<td><input type="text" style="width:50px;" id="v27" value="0" /></td>
<td><input type="text" style="width:50px;" id="v28" value="0" /></td>
<td><input type="text" style="width:50px;" id="v29" value="0" /></td>
<td><input type="text" style="width:50px;" id="v30" value="0" /></td>


</tr>
<tr>
<td class="alt">17861</td>
<td class="alt">Nikhil Bhole</td>
<td class="alt">DBA</td>
<td class="alt">TG1</td>
<td class="alt">4</td>
<td class="alt">John Banner</td>
<td class="alt">Y</td>
<td class="alt">0</td>
<td class="alt"><input type="text" style="width:50px;" id="value7" name="" value="21.0"/></td>
<td class="alt"><input type="text" style="width:50px;" id="value8" name="value2" value="0"/></td>
<td class="alt"><input type="button" name="Sumbit" value="ABD" onClick="java script:addNumbers4()"/>
<input type="text" style="width:50px;" id="answer3" name="answer" value=""/></td>
<td class="alt"><input type="button" name="Subit" value="Booking Avail." onClick="java script:available4()"/>

<input type="text" style="width:50px;" id="ans4" name="ans1" value=""/></td>
<td class="alt"><input type="text" style="width:50px;" id="v31" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v32" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v33" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v34" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v35" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v36" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" style="width:50px;" id="v37" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v38" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v39" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v40" value="0" /></td>



</tr>

<tr>
<td>21959</td>
<td>Sneha Kulkarni</td>
<td>BDB</td>
<td>TG1</td>
<td>4</td>
<td>John Banner</td>
<td>Y</td>
<td>0</td>
<td><input type="text" style="width:50px;" id="value9" name="" value="21.0"/></td>
<td><input type="text" style="width:50px;" id="value10" name="value2" value="1.0"/></td>
<td><input type="button" name="Sumbit" value="ABD" onClick="java script:addNumbers5()"/>
<input type="text" style="width:50px;" id="answer4" name="answer1" value=""/></td>
<td><input type="button" name="Subit" value="Booking Avail." onClick="java script:available5()"/>

<input type="text" style="width:50px;" id="ans5" name="ans1" value=""/></td>
<td><input type="text" style="width:50px;" id="v41" value="0" /></td>
<td><input type="text" style="width:50px;" id="v42" value="0" /></td>
<td><input type="text" style="width:50px;" id="v43" value="0" /></td>
<td><input type="text" style="width:50px;" id="v44" value="0" /></td>
<td><input type="text" style="width:50px;" id="v45" value="0" /></td>
<td><input type="text" style="width:50px;" id="v46" value="0" /></td>
<td><input type="text" style="width:50px;" id="v47" value="0" /></td>
<td><input type="text" style="width:50px;" id="v48" value="0" /></td>
<td><input type="text" style="width:50px;" id="v49" value="0" /></td>
<td><input type="text" style="width:50px;" id="v50" value="0" /></td>

</tr>

<tr class="alt">
<td class="alt">24600</td>
<td class="alt">Shaila Mallapur</td>
<td class="alt">H5/H7</td>
<td class="alt">TG1</td>
<td class="alt">4</td>
<td class="alt">John Banner</td>
<td class="alt">Y</td>
<td class="alt">0</td>
<td class="alt"><input type="text" style="width:50px;" id="value11" name="" value="21.0"/></td>
<td class="alt"><input type="text" style="width:50px;" id="value12" name="value2" value="0"/></td>
<td class="alt"><input type="button" name="Sumbit" value="ABD" onClick="java script:addNumbers6()"/>
<input type="text" style="width:50px;" id="answer5" name="answer1" value=""/></td>
<td class="alt"><input type="button" name="Subit" value="Booking Avail." onClick="java script:available6()"/>

<input type="text" style="width:50px;" id="ans6" name="ans1" value=""/></td>
<td class="alt"><input type="text" style="width:50px;" id="v51" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v52" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v53" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v54" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v55" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v56" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v57" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v58" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v59" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v60" value="0" /></td>

</tr>

<tr>
<td>38823</td>
<td>Pavan Talegaonkar</td>
<td>TRM</td>
<td>TG1</td>
<td>4</td>
<td>John Banner</td>
<td>Y</td>
<td>0</td>
<td><input type="text" style="width:50px;" id="value13" name="" value="21.0"/></td>
<td><input type="text" style="width:50px;" id="value14" name="value2" value="2.0"/></td>
<td><input type="button" name="Sumbit" value="ABD" onClick="java script:addNumbers7()"/>
<input type="text" style="width:50px;" id="answer6" name="answer1" value=""/></td>
<td><input type="button" name="Subit" value="Booking Avail." onClick="java script:available7()"/>

<input type="text" style="width:50px;" id="ans7" name="ans1" value=""/></td>
<td><input type="text" style="width:50px;" id="v61" value="0" /></td>
<td><input type="text" style="width:50px;" id="v62" value="0" /></td>
<td><input type="text" style="width:50px;" id="v63" value="0" /></td>
<td><input type="text" style="width:50px;" id="v64" value="0" /></td>
<td><input type="text" style="width:50px;" id="v65" value="0" /></td>
<td><input type="text" style="width:50px;" id="v66" value="0" /></td>
<td><input type="text" style="width:50px;" id="v67" value="0" /></td>
<td><input type="text" style="width:50px;" id="v68" value="0" /></td>
<td><input type="text" style="width:50px;" id="v69" value="0" /></td>
<td><input type="text" style="width:50px;" id="v70" value="0" /></td>

</tr>

<tr class="alt">
<td class="alt">43242</td>
<td class="alt">Samipkumar Ashwin</td>
<td class="alt">DBA</td>
<td class="alt">TG1</td>
<td class="alt">4</td>
<td class="alt">John Banner</td>
<td class="alt">Y</td>
<td class="alt">0</td>
<td class="alt"><input type="text" style="width:50px;" id="value15" name="" value="21.0"/></td>
<td class="alt"><input type="text" style="width:50px;" id="value16" name="value2" value="1.0"/></td>
<td class="alt"><input type="button" name="Sumbit" value="ABD" onClick="java script:addNumbers8()"/>
<input type="text" style="width:50px;" id="answer7" name="answer" value=""/></td>
<td class="alt"><input type="button" name="Subit" value="Booking Avail." onClick="java script:available8()"/>

<input type="text" style="width:50px;" id="ans8" name="ans1" value=""/></td>
<td class="alt"><input type="text" style="width:50px;" id="v71" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v72" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v73" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v74" value="0" /></td>
<td class="alt">><input type="text" style="width:50px;" id="v75" value="0" /></td>
<td class="alt">><input type="text" style="width:50px;" id="v76" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v77" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v78" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v79" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v80" value="0" /></td>

</tr>

<tr>
<td>12090</td>
<td>Acharjee, Sumit</td>
<td>TRM</td>
<td>TG4</td>
<td>3</td>
<td>John Banner</td>
<td>Y</td>
<td>0</td>
<td><input type="text" style="width:50px;" id="value17" name="" value="21.0"/></td>
<td><input type="text" style="width:50px;" id="value18" name="value1" value="1.0"/></td>
<td><input type="button" name="Sumbit" value="ABD" onClick="java script:addNumbers9()"/>
<input type="text" style="width:50px;" id="answer8" name="answer" value=""/></td>
<td><input type="button" name="Subit" value="Booking Avail." onClick="java script:available9()"/>

<input type="text" style="width:50px;" id="ans9" name="ans1" value=""/></td>
<td><input type="text" style="width:50px;" id="v81" value="0" /></td>
<td><input type="text" style="width:50px;" id="v82" value="0" /></td>
<td><input type="text" style="width:50px;" id="v83" value="0" /></td>
<td><input type="text" style="width:50px;" id="v84" value="0" /></td>
<td><input type="text" style="width:50px;" id="v85" value="0" /></td>
<td><input type="text" style="width:50px;" id="v86" value="0" /></td>
<td><input type="text" style="width:50px;" id="v87" value="0" /></td>
<td><input type="text" style="width:50px;" id="v88" value="0" /></td>
<td><input type="text" style="width:50px;" id="v89" value="0" /></td>
<td><input type="text" style="width:50px;" id="v90" value="0" /></td>

</tr>

<tr class="alt">
<td class="alt">53216</td>
<td class="alt">Das, Sidhant</td>
<td class="alt">H5/H7</td>
<td class="alt">TG1</td>
<td class="alt">3</td>
<td class="alt">John Banner</td>
<td class="alt">Y</td>
<td class="alt">0</td>
<td class="alt"><input type="text" style="width:50px;" id="value19" name="" value="21.0"/></td>
<td class="alt"><input type="text" style="width:50px;" id="value20" name="value2" value="1.0"/></td>
<td class="alt"><input type="button" name="Sumbit" value="ABD" onClick="java script:addNumbers10()"/>
<input type="text" style="width:50px;" id="answer9" name="answer" value=""/></td>
<td class="alt"><input type="button" name="Subit" value="Booking Avail." onClick="java script:available10()"/>

<input type="text" style="width:50px;" id="ans10" name="ans1" value=""/></td>
<td class="alt"><input type="text" style="width:50px;" id="v91" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v92" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v93" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v94" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v95" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v96" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v97" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v98" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v99" value="0" /></td>
<td class="alt"><input type="text" style="width:50px;" id="v100" value="0" /></td>

</tr>
<tr>
<td>54926</td>
<td>Vibhavari Chaudhari</td>
<td>TRM</td>
<td>TG1</td>
<td>3</td>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 30th October 2014 - 11:40 AM