[jQuery] Re: Loading PHP via AJAX

2007-04-16 Thread Jake McGraw
Alex: I normally add the session id as a JavaScript variable in the beginning of my template code (using Smarty): Smarty template (HTML): var smarty = {ldelim}sid:"{$sid}"{rdelim}; {literal} $(function(){ alert(smarty.sid); }); {/literal} - jake On 4/16/07, Alex Ezell <[EMAIL PROTEC

[jQuery] Re: Loading PHP via AJAX

2007-04-16 Thread Alex Ezell
Thanks Jake! The part I was missing, I think, was the passing of the session ID. That was the bit I was missing. I had the form loading onclick and that thing, but I just couldn't figure out how to get the session, objects, and such to the PHP page being called. I believe that will get me to wher

[jQuery] Re: Loading PHP via AJAX

2007-04-16 Thread Jake McGraw
Alex: I think you're looking for something a bit simpler. jQuery, without the aid of any additional plugins, has all of the tools necessary for developing an AJAX solution to work with any platform, PHP included. Below, I've included some example code for how you would accomplish what you origin

[jQuery] Re: Loading PHP via AJAX

2007-04-16 Thread Alex Ezell
Thanks Richard. I don't know if I am 100% sure how someone puts jqPie into action. Would I write my handler.php to include all the objects and session information I need and it interfaces with jQuery? On 4/15/07, Richard Thomas <[EMAIL PROTECTED]> wrote: http://projects.cyberlot.net/trac/jqpie

[jQuery] Re: Loading PHP via AJAX

2007-04-15 Thread Richard Thomas
http://projects.cyberlot.net/trac/jqpie Take a look through there, but basically the ajax calls are browser calls so as long as you stay within the same domain anything the page would have access to the php called through ajax has access to. On 4/15/07, Alex Ezell <[EMAIL PROTECTED]> wrote: I