469,275 Members | 1,806 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

jquery data change

pradeepjain
563 512MB
Hi ,
i use jquery along with php for a ma applications.Its like i have a list of products in a page say like

filter1[drop down] filter2[drop down]
<div id='change'>
1.
2.
3.
</div>
these list of products are dynamically generated from DB. So like when there is any change in the drop downs i go to a page and rebuild the page there and using .html(data) i replace the id{change} . Is this the rite way to do. or any other better methods
Mar 31 '10 #1
3 2576
acoder
16,027 Expert Mod 8TB
Depends what you're generating. I couldn't say there are better methods, but there are alternative methods.
Apr 29 '10 #2
pradeepjain
563 512MB
Can i know what are those alternate methods.


I am just trying to display the results from db query .Thats it.
Apr 29 '10 #3
acoder
16,027 Expert Mod 8TB
Alternative methods, not necessarily better.

1. Load all the data on page load and store in an array or some other structure and then access the corresponding data
2. Use json or xml
Apr 29 '10 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by DuaneMoraes | last post: by
83 posts views Thread by liketofindoutwhy | last post: by
3 posts views Thread by NetWave | last post: by
53 posts views Thread by souporpower | last post: by
pradeepjain
3 posts views Thread by pradeepjain | last post: by
5 posts views Thread by jrod11 | last post: by
pradeepjain
11 posts views Thread by pradeepjain | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.