I have an input type file element:
<input type="file" name="val1" />
And jquery:
$("input[name='val1']").off("click");
But the above JS script (already included in $(function() { }); block) doesn't work, means I can click on Browse... button. I want to disable it or disable click event on this input element.
What's the mistake with my jquery code ? Or it is not possible ?
Thanks