Trigger Close File Browse window pop-up?
Is it possible to close the window that is opened by the click of an input
file type using jquery/javascript ?
I have :
$("input[name=file]").click(function(e){
if(e.handled!=true){
e.handled= true;
}else{
//Trigger close the pop-up or stop the file browse window from
being shown
e.preventDefault();// Does not work
return false; //no change either
}
});
No comments:
Post a Comment