Announcement

Collapse
No announcement yet.

own BB code - {param} with ' and "

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • own BB code - {param} with ' and "

    I have some problem.
    I have some database and script to browse it. On my board i have own BB code, that shows data from that database using ajax. The problem is, that {param} must be passed to javascript, and it can containt both ' and " characters.
    example:
    [somecode]someparam[/somecode]
    is replaced to <a href="someadderss?param={param}" onmouseover="somefunction('{param');">{param}</a>
    The problem is, that if param contains ' or " BB code does not work correctly.

    Anyone have some idea how to convert those characters to some replacement code (&quot; and &apos; ) ?

  • #2
    Since this is part of your custom script, please ask for help on www.vbulletin.org
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X