Hey guys, I've got a bit of a problem here. Kind of new at this coding stuff, but not too shabby if I may add.. But, um, I mede a horoscope form, where the user click on radiobuttion group for month, and inputs his day of birth within a textfield. OnSubmit, it "alerts" the users Sun Sign (ie. Cancer, Capricorn), and also his day of birth. It also dispalys the user's Sun Sign in another textfield.. So that all works, with a bunch of if statements (ie. if ((month == "Jan") && (document......)) so on..
What I'm trying to do is for it to also show an image of the particular sun sign.. I have a blank image, which I would like for to change into the sun sign image of the particular month/day that the user chooses via radio button group/textfield.. I was thinking that I need an image array, but I'm not positive.. I'm also not sure how I would use the tag, and change the image within it..
Any ideas are appreciated. I still have to bring it over to .php..
Thanks.
Rollback Post to RevisionRollBack
Lace me with the words of destruction and I'll explode, but supply me with the will to survive and watch the world grow.
To post a comment, please login or register a new account.
What I'm trying to do is for it to also show an image of the particular sun sign.. I have a blank image, which I would like for to change into the sun sign image of the particular month/day that the user chooses via radio button group/textfield.. I was thinking that I need an image array, but I'm not positive.. I'm also not sure how I would use the tag, and change the image within it..
Any ideas are appreciated. I still have to bring it over to .php..
Thanks.