You are viewing our Forum Archives. To view or take place in current topics click here.
HTML / Javascript help
Posted:

HTML / Javascript helpPosted:

RockstarGames
  • E3 2017
Status: Offline
Joined: Dec 23, 200914Year Member
Posts: 1,937
Reputation Power: 347
Status: Offline
Joined: Dec 23, 200914Year Member
Posts: 1,937
Reputation Power: 347
trying to get fireworks on my enjin website,

I would like [ Register or Signin to view external links. ] on my website but its not working,

HTML,
[ Register or Signin to view external links. ]


Javascript,
on the other website i have. When i access it in the browser it shows the javascript code.


The html module it setup on Global Top

Thanks
#2. Posted:
BossHaug
  • TTG Contender
Status: Offline
Joined: Jun 18, 200914Year Member
Posts: 3,907
Reputation Power: 342
Status: Offline
Joined: Jun 18, 200914Year Member
Posts: 3,907
Reputation Power: 342
So this was kind of annoying to solve but I got it.

To get the JS to work I had to wrap all of the JS code in

$(function() {
    // your script
});



And to top it off it wouldn't actually work when I tried to test it locally on my browser. It would only work when I uploaded it to my server.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.