Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="col-sm-4">
- @Html.TextBoxFor(m => m.Data, new { type = "file", @class = "upload " })
- @Html.LabelFor(m => m.Data,"Upload File...", new { type = "file", @class = "btn btn-primary" })
- </div>
- $(document).ready(function(){
- $("input[type='file']").change(function(){
- //Tu código ....
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement