Change Upload Folder into PHP UploadHandler from javascript


I try to change from javascript the Upload folder ( I try to use PHP UploadHandler ) but any result i get.
How i can to pass Upload folder to php UploadHandler function from Javascript. I have tried with Setformfield function but nothing.
It’s possible ??

Can you help me ??
many thanks