Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Looking Up Postal Codes
eskimmer
post Aug 17 2007, 06:47 AM
Post #1


Newbie [Level 1]
*

Group: Members
Posts: 21
Joined: 15-August 07
Member No.: 48,203



I'd like to have a postcode (zipcode for you US people) lookup automatically after a person enters a suburb (city) and state into a form. I can handle the mysql query and php code but how do I make the code execute _after_ the user enters the suburb and postcode but before they submit the form?

Is there a way to control when the code executes so the user doesnt' have to submit before the code runs? I'd like them just to enter the suburb and then state and then have the post code enter automatically.

Is this possible? Hints appreciated.
Go to the top of the page
 
+Quote Post
jlhaslip
post Aug 17 2007, 01:25 PM
Post #2


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,005
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



Add a javascript 'onchange' to the selection box? Might be nice to see your code.
Go to the top of the page
 
+Quote Post
faund
post Sep 11 2007, 07:15 AM
Post #3


Advanced Member
*******

Group: Members
Posts: 128
Joined: 7-September 07
From: Ningbo, China
Member No.: 49,552



Maybe the AJAX can help you. I think this forum also use AJAX.
Go to the top of the page
 
+Quote Post
.hack//GU
post Sep 12 2007, 09:20 AM
Post #4


Premium Member
********

Group: Members
Posts: 190
Joined: 21-October 05
Member No.: 13,185



If I'm not mistaken, the shoutbox on the upper part of the board is made from AJAX, is that right?
Would you mind to tell how to use it then? Is it just a JavaScript or any other upgrade from it?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Call Of Duty Cheat Codes(16)
  2. Need Cheat Codes(36)
  3. Cheat Codes(12)
  4. Html Cool Codes?(6)
  5. Rotating Advertisment Codes(8)
  6. Free Legal Opera Registration Codes(14)
  7. Postal Service Access(5)
  8. Codes Dont Work(5)
  9. Exploits Refrence(13)
  10. How To Stop People From Pirating Your Source Codes(40)
  11. Ups Vs Fedex(17)
  12. Mkds Friend Code Topic(2)
  13. I Cant Use Codes =((4)
  14. How Do You Intsall A Phpbb Forum Note.(1)
  15. Some Codes Needed ? Please ...(3)
  1. Colour "sniffer" Tool Needed(9)
  2. Untangling Other Peoples Codes...(9)
  3. Php Codes: Adding Clothing, Ion Laser Guns And Shooting Projectile Cannons(3)
  4. Microsoft Adcentre - Uk Promo Codes?(1)
  5. Anybody Got Codes Or Cheats For Nfs Underground 2(0)
  6. Yahoo! - Messy Codes(3)
  7. Call Of Duty 1 Cheat Codes For Multiplayer.(2)
  8. Nasty Windows Tricks Using Vbs Codes(15)
  9. Keep Your Codes Neat!(4)
  10. Codes For Mobiles(4)
  11. How To Make Your Signature Look Really Good!(15)
  12. Html Ascii Codes - A Complete List(3)
  13. Arrays And List Boxes(2)


 



- Lo-Fi Version Time is now: 8th September 2008 - 07:35 AM