how to pass values using load.
because i need to get values in php($_REQUEST)
any body help me
jq("#myid").load(location.href + " #myid");

Recommended Answers

All 5 Replies

Is there any reason you are using load() instead of ajax()? What exactly are you trying to do?

Hi Pritaeas,
I need to reflect values without refresh same page.
i need to pass values via javascript.
Regards,
Ramu M

Try appending the data as a querystring -ex:

jq("#myid").load(location.href + " #myid?firstName=John&lastName=Smith");
Member Avatar for diafol

Post the code you have: HTML page (and any js) and the PHP file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.