Solved

select and display the result on the same page?

Posted on 2012-03-30
5
273 Views
Last Modified: 2012-04-03
Hi, I have a list menu that pulls up values from the db. Once I choose the subscriber id from the list I execute a query to pull up some date pertaining to this customer. I need the result of the query to be displayed on the same page. Can someone let me know how this can be done. Thank you
0
Comment
Question by:aej1973
  • 2
  • 2
5 Comments
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 150 total points
ID: 37789272
This page shows the basics of how to do that:  http://www.javascriptkit.com/dhtmltutors/ajaxgetpost.shtml
0
 

Author Comment

by:aej1973
ID: 37789332
Thank you. Is there anything in Jquery that can be used to do this? Just curious.

A
0
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 37789373
Yes, but I don't know it.  You can click on "Request Attention" and get the jQery zone added to your question.  If it is just for this, I wouldn't recommend jQuery because it adds a lot to the page load.  If you're already using it then it doesn't matter.
0
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 37793166
I usually agree with everything DaveBaldwin writes, but in this case I am going to disagree, just a little.  I use jQuery occasionally.  It implements the good parts of javaScript.  I do not find that it adds a lot to the page load.  I use the "minified" latest version, and have never found that it slowed the page load in a way that was perceptible.  You can use YSlow (Google that) to test this for yourself.

I use the jQuery file here: http://code.jquery.com/jquery-latest.min.js

Today it is at version 1.7.2 and is about 94K.  That's less "weight" than a lot of web images.  When you consider what it does for you, it's a pretty good trade-off.

best of luck with your project, ~Ray
0
 

Author Closing Comment

by:aej1973
ID: 37802986
Thanks.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now