Solved

select and display the result on the same page?

Posted on 2012-03-30
5
278 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

717 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