For some reason I can't change any of the values using javascript? I"m using the basic .js file that comes with jfileupload. Can someone give me an example of how this works...or tell me what I"m doing wrong???
<script type="text/javascript">function stuff(){document.fileupload.setParameter('url','something');}</script>
...nothing happens
can't get setparameter to workRe: can't get setparameter to workJava class jfileupload.upload.client.MApplet has no public field or method named "url"
Re: can't get setparameter to workwow nevermind...can't set url...have to use post. And it is somewhat confusing because you update it using setProperty('post', 'http://blah.com/process.php?thing=somthing');
And then use $_GET['thing'] to retrieve it...just FYI for anyone who is having the same problem. Re: can't get setparameter to workdocument.fileupload.setParameter(name,value) is for EXTRA parameters
document.fileupload.setProperty(name,value) is for REGULAR parameters You have the list of REGULAR and EXTRA parameters at: For HTTP: http://www.jfileupload.com/products/jfi ... _http.html For FTP: http://www.jfileupload.com/products/jfi ... n_ftp.html It may help if you need to update another parameter. |