Title: Dynamically added File Browser with JavaScript/jQuery
Last modified: August 31, 2016

---

# Dynamically added File Browser with JavaScript/jQuery

 *  Resolved [Fox_Black](https://wordpress.org/support/users/fox_black/)
 * (@fox_black)
 * [10 years ago](https://wordpress.org/support/topic/dynamically-added-file-browser-with-javascriptjquery/)
 * Hello,
 * I really love that plugin!
 * At the moment I have a little problem with it. I have to add dynamically in the
   browser on a button click an box with a file browser to choose a picture. I wonder
   if there is an easy possibility to do that? I thought to write an api/php file
   with:
    `echo do_shortcode( my_fileaway_shortcode );`
 * and that file is loaded through ajax call to that element. I think this solution
   works quite good, but I was wandering if you know any better solution?
 * [https://wordpress.org/plugins/file-away/](https://wordpress.org/plugins/file-away/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [10 years ago](https://wordpress.org/support/topic/dynamically-added-file-browser-with-javascriptjquery/#post-7209664)
 * There’s no built-in way to load file away via ajax. Sounds like you’ve got a 
   working solution though.
 *  Thread Starter [Fox_Black](https://wordpress.org/support/users/fox_black/)
 * (@fox_black)
 * [10 years ago](https://wordpress.org/support/topic/dynamically-added-file-browser-with-javascriptjquery/#post-7209781)
 * Thank you. I will use the described solution. Best regards,
 *  Thread Starter [Fox_Black](https://wordpress.org/support/users/fox_black/)
 * (@fox_black)
 * [10 years ago](https://wordpress.org/support/topic/dynamically-added-file-browser-with-javascriptjquery/#post-7209838)
 * I have to thank you again! I found that you integrated a custom page template
   for fileaway, which I altered a little bit and I can use it for that purposes.
   Now it works nearly out of the box when I load that page via ajax.
 * You are really great and your fast response of supporting that plugin is really
   great, too! I hope I can afford a few coins to donate you in the next time!
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [10 years ago](https://wordpress.org/support/topic/dynamically-added-file-browser-with-javascriptjquery/#post-7209839)
 * Oh, yeah, good thinking using the iframe template. !!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Dynamically added File Browser with JavaScript/jQuery’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/file-away_e3e2e1.svg)
 * [File Away](https://wordpress.org/plugins/file-away/)
 * [Support Threads](https://wordpress.org/support/plugin/file-away/)
 * [Active Topics](https://wordpress.org/support/plugin/file-away/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/file-away/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/file-away/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [thomstark](https://wordpress.org/support/users/thomstark/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/dynamically-added-file-browser-with-javascriptjquery/#post-7209839)
 * Status: resolved