Access/Manipulate a 'FileSelect' element w/ JQuery?

Access/Manipulate a 'FileSelect' element w/ JQuery?

Is there anyway you can manually assign or inject a file to a file upload/file block of code?
I am using PhoneGap that captures a photo. writes it to a temp area say:  file://templocation/image_0001.JPG  and gives me this path as a 'string' I want to pass that to the fileupload box if at all possible, but I first need to see what it looks like.


The Form:

<form id="fileupload" name="fileupload"enctype="multipart/form-data" method="post">
<input type="file" name="fileselect"id="fileselect"></input>
<input id="uploadbutton" type="button"value="Upload"/>
</form>