I have an element that clicks on it event triggers, clicks on the <input style="display:none" type="file"/> element. this item is hidden ( display:none ). In this browser: Chrome, IE, FireFox it works (the trigger starts), but this is not the case in Opera and Safari. Is there any special thing for problem browsers (Opera and Safari)? Is there any walk?
Thank you very much!
here is the event code
$('#add_cv').click(function(){ $('#add_cv_input').trigger('click'); });
source share