PDA

View Full Version : Javascript Array Question



Tharnid
29 Oct 2005, 03:20 PM
http://www.thewanderers.us/Array.html

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 :)

perl4biz
30 Oct 2005, 07:37 PM
Thanks dude, I needed a brain teaser. You can grab the working code at
http://www.perl4biz.com/card_pick.html