If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Suggestions & Feedback > Forum parser

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-06-03, 17:06
wakhy wakhy is offline
Registered User
 
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
Reply With Quote
  #2 (permalink)  
Old 01-06-03, 17:40
Paul Paul is offline
Administrator
 
Join Date: Feb 2001
Location: NC, USA
Posts: 200
Testing:

onclick="javascript:CallThatfunction();"

Code:
onclick="javascript:CallThatfunction();"
Reply With Quote
  #3 (permalink)  
Old 01-06-03, 17:41
Paul Paul is offline
Administrator
 
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.
Reply With Quote
  #4 (permalink)  
Old 01-07-03, 00:40
Paul Paul is offline
Administrator
 
Join Date: Feb 2001
Location: NC, USA
Posts: 200
Fixed.
Reply With Quote
  #5 (permalink)  
Old 01-07-03, 02:12
wakhy wakhy is offline
Registered User
 
Join Date: Jan 2003
Location: de/ro
Posts: 12
Thumbs up

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

Thank you!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On