title: Responsive filemanager callback function
body: <p>I use the standalone version of Responsive Filemanager 9 for image-selection on a &lt; input> #image_link.</p>
  
  <p>Where and how the responsive_filemanager_callback function should be used?</p>
  
  <p>I'm trying to get it work as mentioned in the <a href="http://www.responsivefilemanager.com/index.php#documentation-section" rel="nofollow">RFM documentation</a> and the code below.
  This is needed to update the src attribute of the &lt; img> #image_preview after selecting an image in RFM9.</p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;input id="image_link" name="link" type="text" value=""&gt;
  &lt;a class="btn iframe-btn" type="button" href="&lt;?=FILEMANAGER_PATH;?&gt;/dialog.php?type=1&amp;field_id=image_link"&gt;Select&lt;/a&gt;
  &lt;img id="image_preview" src="" /&gt;;
  
  &lt;script&gt;
  $('.iframe-btn').fancybox({ 
      'width'     : 900,
      'height'    : 600,
      'type'      : 'iframe',
      'autoScale' : false
  });
  
  $('#image_link').on('change',function(){
    alert('change triggered');
  });
  
  function responsive_filemanager_callback(field_id){ 
      console.log(field_id);
      var url=jQuery('#'+field_id).val();
      alert('update '+field_id+" with "+url); 
      //your code
  } 
  &lt;/script&gt;
  </code></pre>
  
  <p>The $('#image_link')on.('change') function doesn't recognize the changes by RFM.</p>
  
  <p>Thanks for your inputs!</p>