I have to open file upload dialog by clicking some other button i.e i am hiding file upload control(visibility:hidden) and on clicking of some other button i want to open th
In your example, your file input did not have an id, yet you are trying to reference it with #input. This works for me:
$('#button').click(function() { $('input[type=file]').click(); });