How to get value from textbox to fileupload using jquery?

Posted by Hariinakoti under jQuery on 10/3/2012 | Points: 10 | Views : 4434 | Status : [Member] | Replies : 2
Hi All,
How to get value from textbox to fileupload using jquery?I have one fileupload control and one textbox is there.I want to browse file at a time i want same path in that textbox after that fileupload will be clear after that i want to that textvalue is drag and drop to fileupload.Plz anybody give solution.Please see that attachment

Thanks & Regards
Hari



Responses

Posted by: Divyaselvarathinam on: 10/3/2012 [Member] Starter | Points: 25

Up
0
Down
Call this function on textbox onfocus event or onblur event of fileupload control...

function loadpath() {
document.getElementById("TextBox1").value = document.getElementById("FileUpload1").value
}


Divya

Hariinakoti, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hariinakoti on: 10/4/2012 [Member] Starter | Points: 25

Up
0
Down
read my query carefully divya

Thanks & Regards
Hari

Hariinakoti, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response