How to use File Selector Method in JQuery
This article describe about File Selector Method in JQuery.
Use :file Selector method in jQuery
File method select input elements with type="file":
Example
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function ()
{
$(":file").css("background-color", "yellow");
}
);
</script>
</head>
<body>
<form action="">
Name: <input type="text" name="user" />
<br />
File: <input type="file" name="myfile" />
</form>
</body>
</html>
|
Output

You may also want to read these related articles here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here