$("#filedesc").blur(function() {
var y=’’;
var y= document.getElementById(“filedesc”).value;
window.y=y;
});
$("#uploadresume1").uploadFile({
url: "upload1.php?mytxt="+y,
The variables y doesnt hold a value in the above function. How to make it global?