Select file path location
like
D:/Image/profile.jpg
<input type="file" value="select File" />
Hi KALEEM,
Refer the below code.
HTML
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script type="text/javascript"> function getfilename(fu) { var filepath = $(fu).val(); alert(filepath); } </script> </head> <body> <form id="form1" runat="server"> <div> <input id="fu" type="file" name="file" onchange="return getfilename(this)" /> </div> </form> </body> </html>
Refer the below links.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.