Open Elfinder 2.X from input field <p>In my CMS I used Elfinder 1.X, which was integrated into CKEditor and I could open an other instance by clicking an input as well. Now I updated Elfinder to 2.0 and the input doesn't want to work anymore. </p> <p>Here's the code I had:</p> <pre><code>function load_elfinder($id) { $('&lt;div /&gt;').elfinder({ url : 'lib/modules/elfinder/connectors/php/connector.php', lang : 'hu', dialog : { width : 900, modal : false }, editorCallback : function(url) { document.getElementById($id).value = url; } }) } </code></pre> <p>And then: $(".news_index").on('click',function(){ load_elfinder('news_index'); });</p> <p>Now this function doesn't work. With CKEditor it works perfectly. What could be the problem? </p>