Click to See Complete Forum and Search --> : do you know the code?


javanewbie
12-14-2002, 04:47 PM
I'm new at javascript coding.

Is there a way to make a link that can confirm more then one link?
I'm not sure if that makes sense, or how to explain it..
hm..
I want to be able to click a button and the result be that multiple actions will happen. Like if I press a button to assign someone to be entered in a race, is there a way that i can press just one button to assign that person in like 1-10 races without having to type up the i ( ((((1)))) ), i; ((( (((10)))) )) thing?
maybe that doesn't make sense, but I'm speaking by what I know.

If you have any idea about what I'm talking about, please I could use the help.

:confused:

-Newbie

javanewbie
12-14-2002, 05:39 PM
how?

-newbie :(

ShrineDesigns
12-14-2002, 06:32 PM
is this kind of what your looking for?

<html>
<head>
<title></title>
<script language="JavaScript" type="text/JavaScript">
<!--
function NumOfRaces(Num){
document.myForm.myRace.value = Num;
}
-->
</script>
</head>
<body>
<form action="" method="get" name="myForm">
How Many Races Would You Like To Enter?<br>
<input name="myRace" type="text">
<br>
<input name="" type="button" value="10 Races" onClick="NumOfRaces(10)">
<br>
<input name="" type="button" value="5 Races" onClick="NumOfRaces(5)">
<br>
<input name="" type="button" value="1 Races" onClick="NumOfRaces(1)">
</form>
</body>
</html>

javanewbie
12-15-2002, 09:31 AM
but is there a way that it can automatically be filled with a number from 1 to 10 just by writing that in, then press a button so they all enter?

javanewbie
12-15-2002, 07:03 PM
now, ok the number thing is taken care of.

Now each number has a url say its like:

www.blahblah.com/race/racenumber/1850358

what could i do to keep the url but change the number instead just by doing the 1-1850358?

Thanks for being patient

-newbie