<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR></HEAD>
<BODY 
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; BORDER-RIGHT: medium none; BORDER-TOP: medium none; FONT: 10pt verdana">
<DIV><SPAN class=710013920-08042001>Thanks Bekim, my problem was that I was 
having </SPAN></DIV>
<DIV><SPAN class=710013920-08042001>to mix ASP code with Javascript</SPAN></DIV>
<DIV><SPAN class=710013920-08042001>
<P><FONT color=#800000>response.write "clientn<SPAN 
class=710013920-08042001>ame</SPAN>["&amp; x &amp;"]='<SPAN 
class=710013920-08042001>O'Reilly'" &amp;vbcrlf</SPAN></FONT></P>
<P><FONT color=#800000><SPAN class=710013920-08042001>I solved it by using a 
couple of prewritten strings and parsed it that way.</SPAN></FONT></P>
<P><FONT face=verdana><SPAN class=710013920-08042001>Thanks again Jeff and 
Bekim.</SPAN></FONT></P>
<P><FONT face=verdana><SPAN 
class=710013920-08042001>Andrew</SPAN></FONT></P></SPAN></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
  <DIV align=left class=OutlookMessageHeader dir=ltr><FONT 
  face=Tahoma>-----Original Message-----<BR><B>From:</B> 
  javascript-admin@LaTech.edu [mailto:javascript-admin@LaTech.edu]<B>On Behalf 
  Of </B>BEKIM BACAJ<BR><B>Sent:</B> Monday, April 09, 2001 12:45 
  AM<BR><B>To:</B> javascript@LaTech.edu<BR><B>Subject:</B> Re: [Javascript] 
  apostropes... '<BR><BR></DIV></FONT>
  <DIV>That was a correct answer, but it doesn't work&nbsp;with strigs,</DIV>
  <DIV>because strings are interpreted literaly, there are other ways to work 
  that out.</DIV>
  <DIV>Why don't you try another aproach?</DIV>
  <DIV>Make you're VAR global by declaring it as </DIV>
  <DIV>var myname="" </DIV>
  <DIV>outside of any function,</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Write&nbsp;a function that change's&nbsp;the value of&nbsp; variable 
  -&nbsp;mymame,</DIV>
  <DIV>and&nbsp;read you're value, for&nbsp;instance some input and say:</DIV>
  <DIV>{myname=the_ID_of_the_input.value}</DIV>
  <DIV>and&nbsp;refer to&nbsp;it, with:</DIV>
  <DIV>eval(myname)</DIV>
  <DIV>this way the myname variable will allways have an updated name, the most 
  recently entered in the field.</DIV>
  <DIV>Regards!</DIV>
  <DIV><BR>&nbsp;</DIV>
  <BLOCKQUOTE 
  style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
    <DIV style="FONT: 10pt Arial">----- Original Message -----</DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt Arial; FONT-COLOR: black"><B>From:</B>&nbsp;Andrew 
    Gibson</DIV>
    <DIV style="FONT: 10pt Arial"><B>Sent:</B>&nbsp;Sunday, April 08, 2001 7:44 
    AM</DIV>
    <DIV style="FONT: 10pt Arial"><B>To:</B>&nbsp;javascript@LaTech.edu</DIV>
    <DIV style="FONT: 10pt Arial"><B>Subject:</B>&nbsp;RE: [Javascript] 
    apostropes... '</DIV>
    <DIV><BR></DIV>Thanks Jeff, I tried this though and it 
    didn't<BR>work.....<BR><BR>eval ("var myname='O\'Relly'");<BR>alert 
    (myname);<BR><BR>&gt; &gt; How do I deal with ' in a person name<BR>&gt; 
    &gt;<BR>&gt; &gt; eval ("var myname='ORelly'")<BR>&gt; &gt; is ok<BR>&gt; 
    &gt; but what about<BR>&gt; &gt;<BR>&gt; &gt; eval ("var 
    myname='O'Relly'")<BR>&gt;<BR>&gt; eval ("var 
    myname='O\'Relly'")<BR>&gt;<BR>&gt; Jeff<BR>&gt;<BR>&gt; 
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>&gt; Jeff 
    Walters&nbsp;&nbsp; (314) 962-4024<BR>&gt;<BR>&gt; Cybermill 
    Communications<BR>&gt; 8616 Joseph Ave<BR>&gt; St. Louis, MO 63144<BR>&gt; 
    Jeff@cybermill.com<BR>&gt; http://www.cybermill.com/<BR>&gt;<BR>&gt;<BR>&gt; 
    _______________________________________________<BR>&gt; Javascript mailing 
    list<BR>&gt; Javascript@LaTech.edu<BR>&gt; 
    http://www.LaTech.edu/mailman/listinfo/javascript<BR>&gt;<BR><BR>_______________________________________________<BR>Javascript 
    mailing 
    list<BR>Javascript@LaTech.edu<BR>http://www.LaTech.edu/mailman/listinfo/javascript<BR>
    <DIV></DIV></BLOCKQUOTE>
  <DIV><BR><BR clear=all>
  <HR>
  Get Your Private, Free E-mail from MSN Hotmail at <A 
  href="http://www.hotmail.com">http://www.hotmail.com</A>.<BR>
  <P></P></DIV></BLOCKQUOTE></BODY></HTML>