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
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
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
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
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
5 matches
Mail list logo