Title: How to insert javascript
Last modified: August 18, 2016

---

# How to insert javascript

 *  [senlow](https://wordpress.org/support/users/senlow/)
 * (@senlow)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/how-to-insert-javascript/)
 * Hello,
    How and where would I insert javascript in the sidebar? I want to use
   gooogle adsense in my blog. Would I put the code between <div></div>tags? Are
   there any other tags I should include? Using WP 1.5 Thanks, Steve

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

 *  [Java](https://wordpress.org/support/users/java/)
 * (@java)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/how-to-insert-javascript/#post-166513)
 * After your </div> tag would work. No other tags would be needed that i can think
   of. =)
 *  [wpwork](https://wordpress.org/support/users/wpwork/)
 * (@wpwork)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/how-to-insert-javascript/#post-167146)
 * Can we include new codeline in the next release of WordPress?
 * <?php bloginfo(‘javascript_url’); ?>
 * And the default javascript name is “javascript.js” or “script.js”

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

The topic ‘How to insert javascript’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [wpwork](https://wordpress.org/support/users/wpwork/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/how-to-insert-javascript/#post-167146)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
