471,893 Members | 2,049 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,893 software developers and data experts.

jquery data change

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'>
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 2598
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
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
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
3 posts views Thread by pradeepjain | last post: by
5 posts views Thread by jrod11 | last post: by
11 posts views Thread by pradeepjain | last post: by
reply views Thread by YellowAndGreen | last post: by
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.