Now, I run a football website, and decided to start a couple of Child Boards that run along side my Main forum. Reason for this, is that I wanted to fill the Child Boards with all my Marketing content, rather than having it all pinned to the top of my Main Forum and clogging it up.
Rather than having just boring text links within my Child Boards, I decided to give a bit of JavaScript a go, which to a certain point worked. When 'previewing' the post, I could see my JavaScript add working perfectly, but when I went to post, I got a "Hack Attempt" error and it asked me to go back?
Any help or advice would be appreciate.
No.. You can not and should not use JavaScript in posts.
Javascript is the best way to create XSS Cross site scripting and CSRF .... enabling hacker or bad guy to put script into part of the website ...
so take care, as Kindred said, no JS in posts! ;)