Jquery click trigger gives error 'Maximum call stack …
https://stackoverflow.com/questions/21493155/jquery-click-trigger-gives-error-maximum-call-stack-size-exceeded
function attFile (event) { event.preventDefault (); $ ("#theFileInput").trigger ('click'); }; It all fails. Event will give me "call to undefined", while rest gives me Uncaught RangeError: Maximum call stack size exceeded If I break it with alert ("jq please"); at the first line, depending on the code I use, one will loop forever, while others will show the alert but not click the damn file input.
DA: 80 PA: 46 MOZ Rank: 56