How to change the allowed extentions depending on a variableHow to change the allowed extentions depending on a variableWe do have a requirement like When a variable is 1 then allow particular extention (like jpeg and doc,docx) and varible 2 then allow some more extensions..Is ther any way to achive that??
Re: How to change the allowed extentions depending on a variableYou can have a previous ASP page where you select 1 or 2 then you build the applet HTML from ASP again with the correct variable depending on 1 or 2. Another solution is to update the variable from JavaScript: document.fileupload.setParameter("name","value") or document.fileupload.setProperty("name","value") depending on extra or regular parameter. See FAQ at:
http://www.jfileupload.com/products/jfi ... aq.html#49 |