Click to See Complete Forum and Search --> : OnClick- conditional statement


Ammar
07-03-2007, 02:41 PM
Hi,

What I'm trying to do is make an if statement for when somebody clicks on an image.

What I want to happen-(this is for an upload form):

1. The User fills in the info about the video
2. THEN they have to click on the image before the "upload" button appears.

I don't know if I should use JavaScript's "onClick", or create a function which allows the "upload" button to appear. I'm very stuck. Any help would be appreciated.

(I already have all the form code written, its just step 2. that I need)

gardnc
07-03-2007, 07:24 PM
Create a "disabled" submit button, then use onclick to enable the button.