Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-23-2011, 11:44 AM   PM User | #1
abiz
New to the CF scene

 
Join Date: Jul 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
abiz is an unknown quantity at this point
How to check if file has been selected.

Like the topic says I need a script that can check if a file has been selected, and then activate the submitbuttom, I've tried some codes that I found on google, but without success.

So now I ask you guys for help!

This is my form:
Code:
<form name='newad' method='post' enctype='multipart/form-data'  action=''>
<input NAME='image' TYPE='file' size='50'><INPUT TYPE='submit' VALUE='Upload' name='submit' OnClick="na_change_img_src('load', 'document', 'load.gif', true);"load', 'document', 'load.gif', true);'>
</form>
abiz is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:51 PM.


Advertisement
Log in to turn off these ads.