View Full Version : Javascript Array Question

29 Oct 2005, 02:20 PM

Ok I have a button and I want it display a card in a span area below the button. Basically the user clicks the button a card say the 2 of Spades is displayed (just a text string not an image). I just need to know if my function is correct and how to go about displaying the string in the span tag. You can view the code at link above. Any help will be appreciated :)

30 Oct 2005, 06:37 PM
Thanks dude, I needed a brain teaser. You can grab the working code at