Lost Password?

Go Back   CodeCall Programming Forum > Web Development Forum > JavaScript and CSS

Unregistered, Check out the Coder Battles in the Announcement and Game forums.

JavaScript and CSS Extensible Markup Language, Java Script, and CSS questions here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-02-2008, 06:21 PM
MRO001 MRO001 is offline
Newbie
 
Join Date: Mar 2008
Posts: 2
Credits: 0
Rep Power: 0
MRO001 is on a distinguished road
Default Javascript Help...

I am in desperate need of some help. I am trying to complete an ***igment and can't figure it out. I am sure to a professional it will seem a piece of cake...but to a novice like me it is about to drive me crazy. I am trying to take the form the I have created and allow a user to fill the boxes with numbers and have a win percentage completed by pushing a button. I have most of the work done, but I am missing the scripting to make it all work. I have only really tried to get the script for the first team and then will duplicated it for the following teams, if I could ever figure it out.

Please help

Here is the code I have so far:


<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<CENTER>
<H2>Mens's Basketball</H2></CENTER>
<center>

<script>
function calcpct(form)
{
Var drwin = st.drwin.value;
var drloss = st.drloss.value;
return ((drwin / drloss");
}

</script>
<form>
<form name=st7y >
<TABLE border=1>
<TBODY>
<TH align=center>Team</TH>
<TH align=center>Wins</TH>
<TH align=center>Losses</TH>
<TH align=center>Win Percent</TH></TR>
<TR>
<TD align=center bgColor=lightblue>Drake</TD>
<TD><input type=text name=drwin ALIGN TOP></TD>
<TD><input type=text name=drloss ALIGN TOP></TD>
<TD><input type=text name=drpct ALIGN TOP></TD></TR>
<TR>
<TD align=center bgColor=blueviolet>UNI</TD>
<TD align=center><input type=text name="uniwin" ALIGN TOP></TD>
<TD align=center><input type=text name="uniloss" ALIGN TOP></TD>
<TD align=center><input type=text name="unipct" ALIGN TOP></TD></TR>
<TR>
<TD align=center bgColor=red>Iowa State</TD>
<TD align=center><input type=text name="isuwin" ALIGN TOP></TD>
<TD align=center><input type=text name="isuloss" ALIGN TOP></TD>
<TD align=center><input type=text name="isupct" ALIGN TOP></TD></TR>
<TR>
<TD align=center bgColor=yellow>Iowa</TD>
<TD align=center><input type=text name="uiwin" ALIGN TOP></TD>
<TD align=center><input type=text name="uiloss" ALIGN TOP></TD>
<TD align=center><input type=text name="uipct" ALIGN TOP></TD>
</TR>
</CENTER>
</TBODY>
</TABLE>
</form>
<CENTER>
<H2><input name="calculate" type=button VALUE="Calculate Winning Percentages" onclick="calcpct(st)"></h2>
</CENTER>
</BODY>
</HTML>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 03-02-2008, 06:27 PM
MRO001 MRO001 is offline
Newbie
 
Join Date: Mar 2008
Posts: 2
Credits: 0
Rep Power: 0
MRO001 is on a distinguished road
Default Willing to pay.

If you would be willing to help me I am willing to pay. Tell me a reasonable number and I can pay through paypal if you have an account. I have much of the work done and I am told that it will only take someone who knows what they are doing a minute or 2 to do. Email me at mro001@hotmail.com. Thanks for reading.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP accessing through remotely javascript from another website deny Request Services (Paid) 4 01-28-2008 08:02 AM
Javascript + browsers question psychological JavaScript and CSS 2 01-27-2008 09:39 AM
[Easy as Pie] Unobtrusive JavaScript Kernel Programming News 0 12-20-2007 09:07 AM
How I can execute Javascript into Perl? tony.willson Perl 3 12-14-2007 10:58 AM
Counting Files with JavaScript Matt JavaScript and CSS 5 08-01-2007 12:02 PM


All times are GMT -5. The time now is 11:08 AM.

Contest Stats

Xav ........ 1323.18
MeTh0Dz|Reb0rn ........ 1053.7
morefood2001 ........ 879.43
John ........ 877.37
marwex89 ........ 869.98
WingedPanther ........ 840.94
Brandon W ........ 751.07
chili5 ........ 312.39
Steve.L ........ 241.84
dcs ........ 216.02

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 82%

Ads