Results 1 to 5 of 5

Thread: Forum parser

  1. #1
    Join Date
    Jan 2003
    Location
    de/ro
    Posts
    12

    Question Forum parser

    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

  2. #2
    Join Date
    Feb 2001
    Location
    NC, USA
    Posts
    200
    Testing:

    onclick="javascript:CallThatfunction();"

    Code:
    onclick="javascript:CallThatfunction();"

  3. #3
    Join Date
    Feb 2001
    Location
    NC, USA
    Posts
    200
    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.

  4. #4
    Join Date
    Feb 2001
    Location
    NC, USA
    Posts
    200
    Fixed.

  5. #5
    Join Date
    Jan 2003
    Location
    de/ro
    Posts
    12

    Thumbs up

    Originally posted by Paul
    Fixed.
    Nice way of doing it!

    Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •