[jQuery] [cluetip] with xml

[jQuery] [cluetip] with xml

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6001.18148" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV dir=ltr>I must display in a cluetip (jquery) some information from an xml
file. <BR>My html file is: <BR><EM>echo "<td><div
class=\"blocCataloguelibelle\">"; <BR><a class="affichepopup" href="#"
title=" Next dates"> <? php echo $ tabForm [$ i] -> nom_F;?> </
a> </ div> </ td > <BR></EM><BR>Demojquery.js is my file:
<BR><EM>$ (document). ready (function () ( <BR>$ ( 'A.affichepopup'). Cluetip ((
<BR>Width: 380, <BR>CluetipClass: 'jtip' <BR>Arrows: true, <BR>DropShadow false,
<BR>Sticky: true, <BR>MouseOutClose: true, <BR>ClosePosition 'title',
<BR>closeText: 'src="http://localhost/asfoovh/Asfo/jquery/cluetip/cross.png"
alt="close" <img />', <BR>AjaxSettings (( <BR>Type: "GET" <BR>url:
"http://localhost/asfoovh/Asfo/CataloguedatesMysqlToXml.xml" <BR>DataType: 'xml'
<BR>Success: function (xml) ( <BR>Var html =''; <BR>$ (XML). Find ( 'date').
Each (function () ( <BR>IdF $ var = $ (this). Attr ( 'id'); <BR>Year = $ var
(this). Find ( 'Year'). Text (); <BR>Var $ url = (this). Find ( 'txt_F'). Text
(); <BR>html + = '

' + $ ( 'id_P', $ IDF). text () + '
' + $ (
'txt_F', $ IDF). text () + '</ p>'; <BR>)); <BR>Return html; <BR>) <BR>))
<BR>)); <BR>});</EM></DIV>
<DIV dir=ltr><EM></EM><BR>
<DIV id=result_box dir=ltr style="TEXT-ALIGN: left">I have forgotten something,
but I do not. <BR>Could you help me?</DIV>
<DIV dir=ltr style="TEXT-ALIGN: left"> </DIV></DIV>
<DIV dir=ltr><FONT face=Arial size=2>best regards</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>Benoit</FONT></DIV></DIV></BODY></HTML>