12-06-2009, 08:12 PM
|
#6 (permalink)
|
|
how quixotic are you?
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
|
Adding onto what Village Idiot said, it is also not possible to set the value of a file input with javascript. For example this jQuery will produce an error and not work:
javascript Code:
jQuery(function(){
jQuery('input[type=text]').keyup(function(){ // Get value of text box var text = jQuery(this).val(); // Set value of file box (produces error) jQuery('input[type=file]').val(text); });
});
|
|
|
|