PDA

View Full Version : Forum parser


wakhy
01-06-03, 18:06
Hi,
I tried to submit a solution for a JavaScript code and the in the code was something like this: onclick="javascript:CallThatfunction();", but after I submitted the code the forum parser changed my code to: onclick="java script:CallThatfunction();"

This will create confusion while the IE is ok but mozilla & co. browser will ... create errors.

Did I do something wrong, while submitting the code?
If that was a parser bug, is there any way of changing that?


The thread was:
http://dbforums.com/showthread.php?threadid=640562


Best Regards,
wakhy

Paul
01-06-03, 18:40
Testing:

onclick="javascript:CallThatfunction();"


onclick="javascript:CallThatfunction();"

Paul
01-06-03, 18:41
Well the reason it does it is obviously for security reasons to prevent people running all sorts of javascript when reading the posts.

Not sure how to get around it. I'll see what I can do.

Paul
01-07-03, 01:40
Fixed.

wakhy
01-07-03, 03:12
Originally posted by Paul
Fixed.

Nice way of doing it!
:)
Thank you!