WordPress.org

Ready to get started?Download WordPress

Forums

Javascript not working (2 posts)

  1. brightblue
    Member
    Posted 1 year ago #

    Hi,

    I have some javascript code that was previously working, and now isnt, but I don't know what has changed - could anyone help? I had a graph on my site (code below), but now its not working - any ideas??? The graph is within a post and should turn up here but its just blank:
    http://brightblueconsulting.co.uk/home/marketingroi/market-mix-modelling/

    [Large code excerpt removed by moderator per forum rules. Please use the pastebin for all large code excerpts. It works better anyway.]

  2. I'm thinking that the visual editor might have stripped out some of your code.
    Putting javascript in posts and pages is really tricky. Personally, I would create a custom template and hard code the js, that way you can edit the post and not having to worry about the js getting broken.

Topic Closed

This topic has been closed to new replies.

About this Topic