Title: WP changes the HTML code&#8230;
Last modified: August 18, 2016

---

# WP changes the HTML code…

 *  [p_sejersen](https://wordpress.org/support/users/p_sejersen/)
 * (@p_sejersen)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/wp-changes-the-html-code/)
 * Hi everyone
    I have a problem when trying to integrate some javescript to my 
   page. It is a “form” where users can join my mailinglist. I have got a “external
   code” (from [http://www.websup.dk](http://www.websup.dk)) which I should just
   insert in my page. So I create a new page, open the HTML editor in WP, and the
   paste the code. Once I have saved THE CODE IS CHANGED! It is this line it changes:`
   a href="JavaScript:document.websupmail.submit();"Tilmeld/a` Before “Javascript”
   WP inserts my home-URL, and I can’t seem to override it. Anyone has an idea about
   what I should do? Thanks

The topic ‘WP changes the HTML code…’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [p_sejersen](https://wordpress.org/support/users/p_sejersen/)
 * Last activity: [19 years, 9 months ago](https://wordpress.org/support/topic/wp-changes-the-html-code/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
