[Javascript] refreshing the score

Alexis Perrier aperrier at noos.fr
Wed May 9 07:15:41 CDT 2001


Thanks for your feedback
I simply dropped the idea of having the score refreshed
I'll get back to it when I truly need it
Thanks anyway
Alexis


Alexis Perrier
@P web production

http://www.mailevore.com/ap-production

----- Original Message -----
From: "Rodney Myers" <rmyers at i-way.co.uk>
To: <javascript at LaTech.edu>
Sent: Monday, May 07, 2001 10:34 AM
Subject: Re: [Javascript] refreshing the score


> Easiest way would be to write the score into an input type=text.
> Otherwise you will have to use a layer or separate frame.
> Complication will increase. Compatibility will decrease.
>
> if you wrote
>
> function showScore(form){
> form.score.value =SCORE; // global var
> }
>
>
>
> Alexis Perrier wrote:
> >
> > Hi,
> >
> > I am developping a simple yes/no game and would like to show the vsitor
> > his/her score every time he/she clicks on an radio type button without
> > having to reload the page.
> >
> > I have a counter variable which is increased if the answer is correct
but
> > don't know how to refresh the part of the page where this counter is
written
> > automatically.
> >
> > Would you have any simple example of similar things
> > Thanks
> > Alexis
> >
> > Alexis Perrier
> > @P web production
> > http://www.mailevore.com/ap-production
> >
> > _______________________________________________
> > Javascript mailing list
> > Javascript at LaTech.edu
> > http://www.LaTech.edu/mailman/listinfo/javascript
>
> --
> Shop at ssistant Add-ons and Developer Workshops
> http://www.aflyingstart.net/addons/
>
> Enquiries regarding Shop at ssistant Classic training :
> Call 01256 880770
>
> Rodney Myers
> Based in Oxford, England
> Technical Director, Shop at ssistant eCommerce Solutions
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript
>





More information about the Javascript mailing list