HelpSpot Help Desk Software | HelpSpot Blog | HelpSpot Support

Render jquery and html inside of returned XML?


#1

Hi HelpSpot:

We’re making some custom tools that we would like to appear on the Live Lookup page. We have a custom page with fancy jquery pop ups and we would like this html to render on the live lookup page.

Our page currently returns inside of xml. We’ve tried wrapping it in a CDATA tag, but this does not work.

Any ideas? Is there a workaround for the live lookup page to render html/javascript resources nicely?


#2

cdata blocks should work in rendering the HTML. The problem with your jquery will be that HelpSpot doesn’t use the standard $ but instead uses $jq so if you change your code to use that the jquery should work.