# Help! - How do I install a “JavaScript code?

**URL:** <https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383>\
**Category:** RapidWeaver Classic\
**Created:** [May 26, 2018, 5:44pm UTC](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383 "2018-05-26T17:44:46Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![kennerty](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/kennerty/32/1567_2.png) [@kennerty](https://forums.realmacsoftware.com/u/kennerty)\
**Post date:** [May 27, 2018, 3:55am UTC](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383/21 "2018-05-27T03:55:49Z")

</div>

Yes, page inspector. Delete your code from there and paste it into a HTML stack.

---

<div class="post-metadata">

**Author:** ![surfgeek](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/surfgeek/32/11072_2.png) [@surfgeek](https://forums.realmacsoftware.com/u/surfgeek)\
**Post date:** [May 27, 2018, 4:03am UTC](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383/22 "2018-05-27T04:03:00Z")

</div>

OK. I deleted it from the Page Inspector JavaScript area. I then dragged a fresh HTML Stack onto the page (below the image stack,) and pasted in the JavaScript code. Then pressed SAVE. Then pressed Publish. … and still not displaying.

```
   <script type="text/javascript" src="https://app.getresponse.com/view_webform_v2.js?u=hcmIj&webforms_id=18667201"></script>
```

---

<div class="post-metadata">

**Author:** ![kennerty](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/kennerty/32/1567_2.png) [@kennerty](https://forums.realmacsoftware.com/u/kennerty)\
**Post date:** [May 27, 2018, 4:13am UTC](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383/23 "2018-05-27T04:13:57Z")

</div>

The code is still showing up in your head section. Check the page inspector head tab, and project settings code section.

You have too many `<script>` tags. Remove the first `<script type="text/javascript">` and last `</ script>` from your code.

`<script type="text/javascript"><script type="text/javascript" src="https://app.getresponse. com/view_webform_v2.js?u= hcmIj&webforms_id=18667201"></ script></ script>`

---

<div class="post-metadata">

**Author:** ![surfgeek](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/surfgeek/32/11072_2.png) [@surfgeek](https://forums.realmacsoftware.com/u/surfgeek)\
**Post date:** [May 27, 2018, 4:21am UTC](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383/24 "2018-05-27T04:21:06Z")

</div>

Ok. I did exactly as you said… and it still doesn’t display.

---

<div class="post-metadata">

**Author:** ![surfgeek](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/surfgeek/32/11072_2.png) [@surfgeek](https://forums.realmacsoftware.com/u/surfgeek)\
**Post date:** [May 27, 2018, 4:26am UTC](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383/25 "2018-05-27T04:26:22Z")

</div>

ooops! You are RIGHT. I overlooked the “Settings” code section re: Javascript area. ---- I deleted it.

But I just saved everything again… and this sucker **still won’t display!** WTF???

---

<div class="post-metadata">

**Author:** ![kennerty](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/kennerty/32/1567_2.png) [@kennerty](https://forums.realmacsoftware.com/u/kennerty)\
**Post date:** [May 27, 2018, 4:32am UTC](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383/26 "2018-05-27T04:32:29Z")

</div>

Can you post a screenshot of the HTML stack with code visible

---

<div class="post-metadata">

**Author:** ![surfgeek](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/surfgeek/32/11072_2.png) [@surfgeek](https://forums.realmacsoftware.com/u/surfgeek)\
**Post date:** [May 27, 2018, 4:39am UTC](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383/27 "2018-05-27T04:39:02Z")

</div>

[https://www.screencast.com/t/R9jCOcwwMfh](https://www.screencast.com/t/R9jCOcwwMfh)

---

<div class="post-metadata">

**Author:** ![kennerty](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/kennerty/32/1567_2.png) [@kennerty](https://forums.realmacsoftware.com/u/kennerty)\
**Post date:** [May 27, 2018, 4:41am UTC](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383/28 "2018-05-27T04:41:46Z")

</div>

Double check your code again. There’s something missing at the end.

---

<div class="post-metadata">

**Author:** ![surfgeek](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/surfgeek/32/11072_2.png) [@surfgeek](https://forums.realmacsoftware.com/u/surfgeek)\
**Post date:** [May 27, 2018, 4:50am UTC](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383/29 "2018-05-27T04:50:21Z")

</div>

You were right. I fixed it. Saved it. Published it. …and still not displaying.

[https://www.screencast.com/t/VPTp61mC](https://www.screencast.com/t/VPTp61mC)

---

<div class="post-metadata">

**Author:** ![kennerty](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/kennerty/32/1567_2.png) [@kennerty](https://forums.realmacsoftware.com/u/kennerty)\
**Post date:** [May 27, 2018, 4:57am UTC](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383/30 "2018-05-27T04:57:17Z")

</div>

Check your code again. There’s a space where there shouldn’t be.

---

<div class="post-metadata">

**Author:** ![surfgeek](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/surfgeek/32/11072_2.png) [@surfgeek](https://forums.realmacsoftware.com/u/surfgeek)\
**Post date:** [May 27, 2018, 5:08am UTC](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383/31 "2018-05-27T05:08:54Z")

</div>

Ok. Here’s what I did:  
I went back into getresponse and copied the code exactly as displayed there.  
It still has “2 spaces” in their code… but I pasted it in to the HTML stack as is and BINGO!  
Check this out: [https://www.screencast.com/t/4Bb4iPsvF4r](https://www.screencast.com/t/4Bb4iPsvF4r)  
(It isn’t in the correct position, but at least it FINALLY DISPLAYED ON MY PAGE! 🙂

Here is a snapshot of the code at getresponse: [https://www.screencast.com/t/43B1uM4Ws7V](https://www.screencast.com/t/43B1uM4Ws7V)

---

<div class="post-metadata">

**Author:** ![kennerty](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/kennerty/32/1567_2.png) [@kennerty](https://forums.realmacsoftware.com/u/kennerty)\
**Post date:** [May 27, 2018, 5:14am UTC](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383/32 "2018-05-27T05:14:02Z")

</div>

Originally you had a space between `webform_v2.js?u=` and `hcmIj`.

Glad it’s working now. I guess you can adjust the position in your form settings on the GetResponse website?

---

<div class="post-metadata">

**Author:** ![surfgeek](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/surfgeek/32/11072_2.png) [@surfgeek](https://forums.realmacsoftware.com/u/surfgeek)\
**Post date:** [May 27, 2018, 5:21am UTC](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383/33 "2018-05-27T05:21:27Z")

</div>

OH. I didn’t realize that. You have a sharp eye for detail.  
Glad you helped me out Man! Shoot me your PayPal address  
and I’ll send you a case! 🙂

As far as the positioning goes, that’s a challenge I will leave until tomorrow.  
I’m on the West Coast here, so I think I’m going to power down for the night.

Thanks again Carl!  
You da’ Man!

---

<div class="post-metadata">

**Author:** ![kennerty](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/kennerty/32/1567_2.png) [@kennerty](https://forums.realmacsoftware.com/u/kennerty)\
**Post date:** [May 27, 2018, 5:23am UTC](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383/34 "2018-05-27T05:23:02Z")

</div>

No worries man. Happy to help.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [June 26, 2018, 3:30pm UTC](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383/35 "2018-06-26T15:30:10Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

[Previous page](https://forums.realmacsoftware.com/t/help-how-do-i-install-a-javascript-code/20383.md?page=1)
