[jQuery] Re: help on $.get

2007-08-06 Thread Stephan Beal
On Aug 6, 12:41 pm, mohsin <[EMAIL PROTECTED]> wrote: > how to pass multiple value from php to $.get in jQuery. i need to pass > varibles from php to ajax file ...buti cann't find no way to do it. You can't pass variables from PHP to JavaScript. You can pass them from JS to PHP by making a GET or

[jQuery] Re: help on $.get

2007-08-06 Thread mohsin
thnx for ur help but that is hard coded values from jQuery. i need to pass values from php to jquery $.get function as i need them in ajax file called by $.get function. as we used before like this onclick="call_ajax('',)" how can i do this with jQuery

[jQuery] Re: help on $.get

2007-08-06 Thread Stephan Beal
On Aug 6, 1:23 pm, mohsin <[EMAIL PROTECTED]> wrote: > thnx for ur help but that is hard coded values from jQuery. i don't understand what you mean - what is hard coded? You can pass any arguments you want to $.getJSON() and they will be passed on to the PHP script: $.getJSON( 'myscript.php', {f