I have a problem.
I’m using the jQuery plugin Uploadify v. 2.1.4 to upload some *.pdf files.
The Uploadify have the OnComplete event callback function. This event returns in your arguments the file name sended.
I created a input hidden with id #pdf_name, where i want when the oncomplete function executes, him pass the file name argument to the input hidden, changing your value.
I don’t know how i can “insert” an value inside a input with the jQuery.
Anyone have a solution?
http://www.uploadify.com/documentation/events/oncomplete-2/
Thanks,
Luiz H.
try this: http://jsfiddle.net/2ZfLG/