[jQuery] AJAX + IE
[jQuery] AJAX + IE
<HTML>
<BODY>
<!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.2800.1543" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=386320720-15062006><FONT face=Arial size=2>I am not sure why I
typed my code out instead of copying.</FONT></SPAN><SPAN
class=386320720-15062006><FONT face=Arial size=2></FONT></SPAN></DIV>
<DIV><SPAN class=386320720-15062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=386320720-15062006><FONT face=Arial size=2>In any event, this
is driving me crazy. </FONT></SPAN><FONT face=Arial><FONT size=2><SPAN
class=386320720-15062006>Is it possible that something about my local
configuration could be causing this?</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=386320720-15062006></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=386320720-15062006>(Windows 2000,
apache 2.2, PHP5)</SPAN></FONT></FONT></DIV>
<DIV><SPAN class=386320720-15062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=386320720-15062006>></SPAN>function test() {<BR><SPAN
class=386320720-15062006>></SPAN>$.get('../scripts/test.php',<BR><SPAN
class=386320720-15062006>></SPAN>function(pReturnValue) {<BR><SPAN
class=386320720-15062006>></SPAN>alert(pRetunrValue);<BR><SPAN
class=386320720-15062006>></SPAN>}<BR><SPAN
class=386320720-15062006>></SPAN>);<BR><SPAN
class=386320720-15062006>></SPAN>}<BR><SPAN
class=386320720-15062006>></SPAN><BR><SPAN
class=386320720-15062006>></SPAN>You have a typo:<BR><SPAN
class=386320720-15062006>></SPAN>alert(pReturnValue);<BR><SPAN
class=386320720-15062006>></SPAN><BR><SPAN
class=386320720-15062006>></SPAN>Other than that, your code works for me in
both FF 1.5 and IE 6<SPAN class=386320720-15062006>></SPAN><BR><SPAN
class=386320720-15062006>></SPAN><BR><SPAN
class=386320720-15062006>></SPAN><BR><SPAN
class=386320720-15062006>></SPAN>On 6/15/06, Hochwender, Jason <<A
href="http://jquery.com/mailman/listinfo/discuss_jquery.com">Jason.Hochwender at
jpfinancial.com</A>> wrote:<BR><SPAN
class=386320720-15062006>></SPAN>><I><BR></I><SPAN
class=386320720-15062006>></SPAN>><I> I am trying to use the AJAX
functionality of jquery but I am having<BR></I><SPAN
class=386320720-15062006>></SPAN>><I> problems.<BR></I><SPAN
class=386320720-15062006>></SPAN>><I><BR></I><SPAN
class=386320720-15062006>></SPAN>><I> As a test I wrote the following
javascript function...<BR></I><SPAN
class=386320720-15062006>></SPAN>><I><BR></I><SPAN
class=386320720-15062006>></SPAN>><I> function test() {<BR></I><SPAN
class=386320720-15062006>></SPAN>><I>
$.get('../scripts/test.php',<BR></I><SPAN
class=386320720-15062006>></SPAN>><I> function(pReturnValue)
{<BR></I><SPAN class=386320720-15062006>></SPAN>><I>
alert(pRetunrValue);<BR></I><SPAN class=386320720-15062006>></SPAN>><I>
}<BR></I><SPAN class=386320720-15062006>></SPAN>><I> );<BR></I><SPAN
class=386320720-15062006>></SPAN>><I> }<BR></I><SPAN
class=386320720-15062006>></SPAN>><I><BR></I><SPAN
class=386320720-15062006>></SPAN>><I> the corresponding php code looks
like...<BR></I><SPAN class=386320720-15062006>></SPAN>><I><BR></I><SPAN
class=386320720-15062006>></SPAN>><I> <?php<BR></I><SPAN
class=386320720-15062006>></SPAN>><I> echo 365;<BR></I><SPAN
class=386320720-15062006>></SPAN>><I> ?><BR></I><SPAN
class=386320720-15062006>></SPAN>><I><BR></I><SPAN
class=386320720-15062006>></SPAN>><I><BR></I><SPAN
class=386320720-15062006>></SPAN>><EM> I don't think this could get much
simpler.<BR><SPAN class=386320720-15062006>></SPAN></EM>><EM> In FF I get
the value but in IE I do not. Any ideas???<BR><SPAN
class=386320720-15062006>></SPAN></EM>><I> Jason</I></DIV></BODY></HTML>
<P><hr size=1></P>
<P><STRONG>
Notice of Confidentiality:
**This E-mail and any of its attachments may contain Lincoln National
Corporation proprietary information, which is privileged, confidential,
or subject to copyright belonging to the Lincoln National Corporation
family of companies. This E-mail is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this E-mail, you are hereby notified that any
dissemination, distribution, copying, or action taken in relation to
the contents of and attachments to this E-mail is strictly prohibited
and may be unlawful. If you have received this E-mail in error, please
notify the sender immediately and permanently delete the original and
any copy of this E-mail and any printout. **
Thank You.
</STRONG></P>
</BODY>
</HTML>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/