Title: Can I Iframe javascript?
Last modified: August 20, 2016

---

# Can I Iframe javascript?

 *  Resolved [topofthemornin](https://wordpress.org/support/users/topofthemornin/)
 * (@topofthemornin)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/can-i-iframe-javascript/)
 * This javascript creates an intereactive stock chart widget. Can I use Iframe 
   to embed it and if so, how? I haven’t had any luck so far, just a blank page.
 *     ```
       <script type="text/javascript" src="https://s3.amazonaws.com/tradingview/tv.js"></script>
       <script type="text/javascript">
       var tradingview_widget_options = {};
       tradingview_widget_options.width  = 986;
       tradingview_widget_options.height = 500;
       tradingview_widget_options.symbol = '$SPX';
       tradingview_widget_options.interval = 'W';
       tradingview_widget_options.toolbar_bg = '#E4E8EB';
       tradingview_widget_options.allow_symbol_change = true;
       new TradingView.widget(tradingview_widget_options);
       </script>
       ```
   
 * [http://wordpress.org/extend/plugins/iframe/](http://wordpress.org/extend/plugins/iframe/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [webvitalii](https://wordpress.org/support/users/webvitaly/)
 * (@webvitaly)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/can-i-iframe-javascript/#post-3205144)
 * IMHO it is not possible to embed javascript.
    Try to add this javascript into
   some empty page or html file and you may try to embed that page (or file).

Viewing 1 replies (of 1 total)

The topic ‘Can I Iframe javascript?’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [webvitalii](https://wordpress.org/support/users/webvitaly/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/can-i-iframe-javascript/#post-3205144)
 * Status: resolved