User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 402,403 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,924 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

How to validate an image field with javascript

Join Date: Apr 2006
Location: Prishtina
Posts: 12
Reputation: besart is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
besart besart is offline Offline
Newbie Poster

How to validate an image field with javascript

  #1  
May 29th, 2007
I need to validate three image fields with javascript so the user cant upload anything else expect files with image extensions.

A i also need to control the size of the image, for example to restrict user uploading files with greater size than 1MB.

Does this thing can be done?

Thanks.
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 1:38 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC