[Javascript] refreshing the score
Rodney Myers
rmyers at i-way.co.uk
Mon May 7 03:34:13 CDT 2001
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
More information about the Javascript
mailing list