escaping double and single quotes in jquery tooltip
<p>I am using a dynamic jquery carousel to show thumbnail images in the home page....The carousel is working fine...and i want to add a tooltip to each image....for this i am using jquery tooltip....on hover tooltip should display the original image,uploaded by and so on...</p>

<p>The javascript that adds the tooltip to each image is as follows...</p>

<pre><code> function mycarousel_getItemHTML(url)
{
var url= url.split(",");
 return '&lt;a href="'+url[4]+'"  onmouseover="Tip(\'&lt;img src=\''+url[5]+'\'&gt;&lt;/img&gt;&lt;br/&gt;&lt;b&gt;'+url[1]+'&lt;/b&gt;&lt;br /&gt;Category:'+url[6]+'&lt;br/&gt;Views:'+url[2]+'&lt;br/&gt;Uploaded by:'+url[3]+'\')" onmouseout="UnTip()"&gt;&lt;img src="' + url[0] + '" width="75" height="75" alt="" /&gt;&lt;/a&gt;';
};


url[5]=original img src
url[1]=title
url[6]=category name
url[2]=no of views
url[3]=uploaded by
url[0]=thumbnail img source
</code></pre>

<p>the above javascript gives me the following error</p>

<blockquote>
  <p>missing ) after argument list</p>
</blockquote>

<p>how can i escape single and double quote properly...Please help me...<em>-</em></p>
