473,408 Members | 1,874 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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 2640
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

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

Similar topics

1
by: DuaneMoraes | last post by:
A new book on jQuery, the powerful JavaScript library, has been announced by Packt In Learning jQuery, Karl Swedberg and Jonathan Chaffer, creators of the popular jQuery learning resource...
2
by: Darrel | last post by:
I'd like to use the jquery datepicker. I have a asp.net 1.1 application set up with forms authentication protecting an admin directory: <location path="admin"> <system.web> <authorization>...
83
by: liketofindoutwhy | last post by:
I am learning more and more Prototype and Script.aculo.us and got the Bungee book... and wonder if I should get some books on jQuery (jQuery in Action, and Learning jQuery) and start learning about...
3
by: NetWave | last post by:
Hi, For my next project I'm going to need Ajax, so I'm in about to read some books on ASP.NET Ajax. While reading Rick Strahl's blog I stumbled upon jQuery. I've been to the website and seen...
53
by: souporpower | last post by:
Hello All I am trying to activate a link using Jquery. Here is my code; <html> <head> <script type="text/javascript" src="../../resources/js/ jquery-1.2.6.js"</script> <script...
25
pradeepjain
by: pradeepjain | last post by:
<html> <head> <script src="jquery.js" type="text/javascript"></script> <script src="jquery.rating.js" type="text/javascript" language="javascript"></script> <link...
3
pradeepjain
by: pradeepjain | last post by:
hii guys i am trying to sumit multiple forms in a single page like this.i am trying to alert yes when it come to jquery .but its not printing....plz help on this ? <head> <script...
5
by: jrod11 | last post by:
hi, I found a jquery html table sorting code i have implemented. I am trying to figure out how to edit how many colums there are, but every time i remove code that I think controls how many colums...
1
pradeepjain
by: pradeepjain | last post by:
hii, i have a code like this <script type="text/javascript"> $(document).ready(function() { $("#dob").blur(function() { $.post("age_calculator.php",{ dob:$("#dob").val()}...
11
pradeepjain
by: pradeepjain | last post by:
i am building a select based on the values in a text box . like $("#pincode").change(function(){ $.post("doctor_search.php",{ pincode:$("#pincode").val()} ,function(data){...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.