JavaScript in xml file

juan3s

New Member
I am making ssrs report which has xml file.I want to call a javascript [for tooltip] from xml itself.I know that I can put it in the page where it to be deployed, but in my perticular scenario it's not possible.FYI:
  • The javascript is for tooltip and its using jQuery and css files.
  • Its working fine in html,aspx page.
File to include for the script:\[code\]<link rel="stylesheet" type="text/css" href="http://.../SiteAssets/Styles/master.css" /><link rel="stylesheet" type="text/css" href="http://.../SiteAssets/Styles/jquery.qtip.min.css" /><link rel="stylesheet" type="text/css" href="http://.../SiteAssets/Styles/demos.css" />\[/code\] And the script is :\[code\] $(document).ready(function () { // We'll target all DIV elements with title tags.) $('div[title]').qtip({ content: { attr: 'title' // Use the jstooltip attribute of the area map for the content }, style: { classes: 'ui-tooltip-tipsy ui-tooltip-shadow' }}); });</script>\[/code\]Any idea / other way?
 
Back
Top