Padmaksha Mukhopadhyay

Greenhorn
+ Follow
since Nov 27, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Padmaksha Mukhopadhyay

Hi Everyone

My program wants to pull data from 4th coloum in a spreadsheet and count number of occurences in a variable

But the answers are comming wrong and not getting updated

Here is my code .

The 4th coloum has arround 50 values like , p0,p1, p2,p3


And the output comes like

Value of P0: 0
Value of P1: 0
Value of P2: 0
Value of P3: 2

Which is absolutely wrong
What am i doing wrong

Kindly help
Hi Please i need help anybody please help its urgent

All i want to know is how to read data from a particular cell in spreadsheet using javascript and compare that value with a string and if they match use counter to count occurence of that value and print it. I am good in java and can easily do it but very new to javascript . Please anyone help me its urgent .
Hi All I have two pages Timer.jsp and Questions.jsp The codes are given below timer .jsp= and Questions.jsp =


Now i want when i click on the starttest button on timer.jsp it takes me to Questions.jsp which it does and starts a countdown timer there for 30:00 munites this is where i need help . This is a project i am doing please if anybody can help.

It should be like the website http://www.indiabix.com/online-test/java-programming-test/61 . In this website when you clik on starttest button where it redirects to another page and starts the timer on the left hand side of the page . Please if anybody can help it would be of great help to me
If you look at the website http://www.indiabix.com/online-test/java-programming-test and click on any test you will see that if you click on starttest button there it redirects you to the page where it starts the timer
yes thanks the timer works now but i have two issues . When i click on the starttest it should show up in another page ie . When i click on starttest button it should redirect me to Questions.jsp remember the page we were working on yesterday and start the timer there . Is there a way to do it. Swastik if you are there please let me know.

I click on start test ..... It redirects me to questions.jsp and starts the timer there
no it dosent seem to work the timer dosent start i cant see anything
But when i click on starttest nothing happens, It dosent show the timer
Swastic what am i doing wrong?
Here it is on codes . On the click of button start test it should start the timer. Please help
I gave quotes like this but it still doesnt work----------- <input type="button" value=" Start Test ..." id="btnStartTest" onclick="CreateTimer("timer", 30)";/>
I tried to put in code block it dosent take . It says some lines are more than 120 charecters

Anayways can you please show mw the program
Hi all . I am building a project that on clicking a starttestbutton the timer will start and when i click on submit button it will stop
Here is my code

<html>
<body>

<script ="javascript">
var Timer;
var TotalSeconds;
function CreateTimer(TimerID, Time) {
Timer = document.getElementById(TimerID);
TotalSeconds = Time;

UpdateTimer()
window.setTimeout("Tick()", 1000);
}

function Tick() {
if (TotalSeconds <= 0) {
alert("Time's up!")
return;
}

TotalSeconds -= 1;
UpdateTimer()
window.setTimeout("Tick()", 1000);
}
function UpdateTimer() {
var Seconds = TotalSeconds;

var Days = Math.floor(Seconds / 86400);
Seconds -= Days * 86400;

var Hours = Math.floor(Seconds / 3600);
Seconds -= Hours * (3600);

var Minutes = Math.floor(Seconds / 60);
Seconds -= Minutes * (60);


var TimeStr = ((Days > 0) ? Days + " days " : "") + LeadingZero(Hours) + ":" + LeadingZero(Minutes) + ":" + LeadingZero(Seconds)


Timer.innerHTML = TimeStr;
}


function LeadingZero(Time) {

return (Time < 10) ? "0" + Time : + Time;

}
</script>


<html>
<body>


<div align="left">
<p class="ib-green" style="font-size:12px; font-familty: Verdana, sans-serif;"><b>Instruction:</b></p>
<p class="tp-p-instruction">Total number of questions : <b>20</b>.</p>
<p class="tp-p-instruction">Time alloted : <b>30</b> minutes.</p>
<p class="tp-p-instruction">Each question carry 1 mark, no negative marks.</p>
</div>
<input type="button" value=" Start Test ..." id="btnStartTest" onclick=CreateTimer("timer", 30);/>
</div>

</body>
</html>
</body>
<html>


But it dosent seem to start when i click on the starttest button why? Can anybody please help
Hi I am trying to build a countdowntimer for a project in which on clicking starttest button the timer will countdown but dont seem to get it right can anybody please help
Here is my code


<html>
<body>

<script ="javascript">
var Timer;
var TotalSeconds;
function CreateTimer(TimerID, Time) {
Timer = document.getElementById(TimerID);
TotalSeconds = Time;

UpdateTimer()
window.setTimeout("Tick()", 1000);
}

function Tick() {
if (TotalSeconds <= 0) {
alert("Time's up!")
return;
}

TotalSeconds -= 1;
UpdateTimer()
window.setTimeout("Tick()", 1000);
}
function UpdateTimer() {
var Seconds = TotalSeconds;

var Days = Math.floor(Seconds / 86400);
Seconds -= Days * 86400;

var Hours = Math.floor(Seconds / 3600);
Seconds -= Hours * (3600);

var Minutes = Math.floor(Seconds / 60);
Seconds -= Minutes * (60);


var TimeStr = ((Days > 0) ? Days + " days " : "") + LeadingZero(Hours) + ":" + LeadingZero(Minutes) + ":" + LeadingZero(Seconds)


Timer.innerHTML = TimeStr;
}


function LeadingZero(Time) {

return (Time < 10) ? "0" + Time : + Time;

}
</script>


<html>
<body>


<div align="left">
<p class="ib-green" style="font-size:12px; font-familty: Verdana, sans-serif;"><b>Instruction:</b></p>
<p class="tp-p-instruction">Total number of questions : <b>20</b>.</p>
<p class="tp-p-instruction">Time alloted : <b>30</b> minutes.</p>
<p class="tp-p-instruction">Each question carry 1 mark, no negative marks.</p>
</div>
<input type="button" value=" Start Test ..." id="btnStartTest" onclick=CreateTimer("timer", 30);/>
</div>

</body>
</html>
</body>
<html>

Please