Solved

select and display the result on the same page?

Posted on 2012-03-30
5
277 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 83

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 83

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 110

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 Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Find RGB colors from a screen. 2 39
PHP $_POST vs asp request 4 56
Format Date 7 27
How do I init a PHP page jusing JQuery? 8 27
This article discusses how to create an extensible mechanism for linked drop downs.
This article discusses how to implement server side field validation and display customized error messages to the client.
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…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

737 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