Your best approach would be to write a PHP script that serves data in
XML or JSON format and then invoke the script from a $.ajax call in
jQuery. Then you process the data you get back and insert it into
your document as appropriate.
Sorry for being vague, but without more information that's
There are a lot of way to take data via ajax.
I always use this one:
Client side:
data = param1=fooparam2=bar
$.ajax({
type: POST,
url: ajax.php,
data: data,
dataType: json,
success: function(data_result) { FillResult(data_result) } //
on success the
On Nov 30, 5:55 am, Action [EMAIL PROTECTED] wrote:
On Nov 29, 8:02 pm, Wizzud [EMAIL PROTECTED] wrote:
For example ... ?
Sorry, maybe that was a bit too cryptic.
Can you provide an example of your PHP data?
Can you provide examples of the before/after affected HTML?
Can you provide _any_
For example ... ?
On Nov 29, 9:34 pm, Action [EMAIL PROTECTED] wrote:
I have a PHP array of data I want to be able to append to the html
using jquery and ajax. I want to be able to add different elements of
the array to different parts of the page.
How can I go about doing this?
On Nov 29, 8:02 pm, Wizzud [EMAIL PROTECTED] wrote:
For example ... ?
On Nov 29, 9:34 pm, Action [EMAIL PROTECTED] wrote:
I have a PHP array of data I want to be able to append to the html
using jquery and ajax. I want to be able to add different elements of
the array to different
hi
you can do it this way
$document({
$(div#mydiv).html(No of Users: + ?php echo $users; ?);
})
On Nov 30, 12:55 am, Action [EMAIL PROTECTED] wrote:
On Nov 29, 8:02 pm, Wizzud [EMAIL PROTECTED] wrote:
For example ... ?
On Nov 29, 9:34 pm, Action [EMAIL PROTECTED] wrote:
I
6 matches
Mail list logo