I am disabling a input file button in JQuery which works
$('#ID').attr('disabled', true)
However, the button still looks enabled and doesn't show the disabled style (grey)
I have tried changing the CSS
// Example
$('#ID').css("background-color", 'yellow')
But regardless of what css I put the button never changes style.
What I can do?
the object I am using (HTML)
<input type="file" id="ID" class="" name="files[]" multiple />
Thanks