JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<head>
<title>BilgiSayaci.Org - jQuery .trigger() Kullanımı</title>
<style>
#file{display: none;}
</style>
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
</head>
<body>
<input type="file" id="file" />
<a href="javascript:;" id="link">Link</a>
<div id="deger">
</div>
</body>
</html>
JavaScript
$(document).ready(function(){
$("#link").click(function(){
$("#file").trigger("click");
})
$(window).trigger("resize");
});
$(window).resize(function(){
alert($(window).width());
});