Title: Exec javascript inside PHP
Last modified: August 21, 2016

---

# Exec javascript inside PHP

 *  [Andrzej](https://wordpress.org/support/users/awoz/)
 * (@awoz)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/exec-javascript-inside-php/)
 * How would one insert/execute a javascript with this shortcode plugin? I
    have
   tried a simple echo of the <script> tag but it does not seem to work i.e.
 * `echo "<script type="text/javascript" src="http://feedjit.com/serve/?vv=1512&
   went=10"></script>";`
 * The new shortcode has no arguments.
 * Thank you for all suggestions.
 * [https://wordpress.org/plugins/shortcode-exec-php/](https://wordpress.org/plugins/shortcode-exec-php/)

The topic ‘Exec javascript inside PHP’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shortcode-exec-php.svg)
 * [Shortcode Exec PHP](https://wordpress.org/plugins/shortcode-exec-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcode-exec-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcode-exec-php/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcode-exec-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcode-exec-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcode-exec-php/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 0 replies
 * 1 participant
 * Last reply from: [Andrzej](https://wordpress.org/support/users/awoz/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/exec-javascript-inside-php/)
 * Status: not a support question