[jQuery] Tying to make it work...

[jQuery] Tying to make it work...

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1255">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:right;
direction:rtl;
unicode-bidi:embed;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1 dir=RTL>
<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Hey
guys,
I've found out about <st1:City w:st="on">ajax</st1:City> a few days, and found
jquery while reading a lot of web sites that are related in some way to <st1:City
w:st="on"><st1:place w:st="on">ajax</st1:place></st1:City>.<o:p></o:p></span></font>
<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font>
<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I've
been trying to make a small app that is written part in PHP and part in JS (which
I'm new to) using jquery as my base.<o:p></o:p></span></font>
<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font>
<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>When
I try to add html to a certain span (id=Data) that I have using
$("#Data").html it works fine,<o:p></o:p></span></font>
<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>But
the elements inside (the new one) like links are not working well with jquery,
if I try to implant thickbox (using class="thickbox") into my code,
it just works as a normal link, and disregards the thickbox class and the
jquery code for that class.<o:p></o:p></span></font>
<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font>
<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I've
tried to make the elements in the #Data using .add("tr",{class:
"someclass"}).add("a",{href: "image.jpg", class:
"thickbox"}).html("inner text") but it refuses to work, and
only adds the last .add I use and if a have several $("#Data").add
then it only creates the last one, like the pervious onse are deleted or
something…<o:p></o:p></span></font>
<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font>
<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>If
someone can show me a code that works, I woulkd be more then glad.. </span></font><font
size=2 face=Wingdings><span style='font-size:10.0pt;font-family:Wingdings'>J</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font>
<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Thanks
a lot guys… <o:p></o:p></span></font>
<p class=MsoNormal dir=RTL><font size=2 face=Arial><span dir=LTR
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font>
<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><span dir=RTL></span><font size=2 color=navy face=Arial><span lang=HE
dir=RTL style='font-size:10.0pt;font-family:Arial;color:navy'><span dir=RTL></span> </span></font><o:p></o:p>
<div class=MsoNormal align=center dir=LTR style='text-align:center;direction:
ltr;unicode-bidi:embed'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>
<hr size=2 width="80%" align=center>
</span></font></div>
<div align=left dir=ltr>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
style='width:100.0%;border-collapse:collapse'>
<tr>
<td width="35%" style='width:35.0%;padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=1 color="#333333" face=Arial><span style='font-size:8.0pt;
font-family:Arial;color:#333333'>Best Regards,
Eli Sklar, <a href="http://www.k.co.il/">www.K.co.il</a> professional SEO<u5:p></u5:p></span></font><font
color=black><span style='color:black'><o:p></o:p></span></font>
</td>
<td style='padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal align=center dir=LTR style='text-align:center;direction:
ltr;unicode-bidi:embed'><font size=1 color="#333333" face=Arial><span
style='font-size:8.0pt;font-family:Arial;color:#333333'>050-225-3040 -
03-6500000
<a href="mailto:Eli@k.co.il">Eli@k.co.il</a><u5:p></u5:p></span></font><font
color=black><span style='color:black'><o:p></o:p></span></font>
</td>
<td width="35%" style='width:35.0%;padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal dir=RTL><font size=1 color="#333333" face=Arial><span
lang=HE style='font-size:8.0pt;font-family:Arial;color:#333333'>בברכה,
אלי סקלאר, <a href="http://www.k.co.il/"><span lang=EN-US dir=LTR>www.K.co.il</span></a><span
dir=RTL></span><span dir=RTL></span> קידום אתרים מקצועי</span></font><font
color=black><span dir=LTR style='color:black'><u5:p></u5:p><o:p></o:p></span></font>
</td>
</tr>
</table>
</div>
<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3 face=Calibri><span style='font-size:12.0pt;font-family:
Calibri'><u5:p> </u5:p></span></font><font color=black><span
style='color:black'><o:p></o:p></span></font>
<p class=MsoNormal dir=RTL><font size=2 color=navy face=Arial><span dir=LTR
style='font-size:10.0pt;font-family:Arial;color:navy'><u5:p> </u5:p></span></font><span
dir=LTR><o:p></o:p></span>
<p class=MsoNormal dir=RTL><font size=3 face="Times New Roman"><span dir=LTR
style='font-size:12.0pt'><o:p> </o:p></span></font>
</div>
</body>
</html>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/