Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes Hi everyone Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Hi everyone" Watch "Hi everyone" New topic
Author

Hi everyone

Pavan BH
Greenhorn

Joined: Sep 21, 2008
Posts: 7
I want to display state when country is selected without refreshing the page.
I am using MySql database I am having country table and state table and in state table i am having reference of country.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61449
    
  67

"Pavan BH", please check your private messages for an important administrative matter.

Also, please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

Using a title of "Hi everyone" isn't very descrptive of your question

Please go back and change your post to add a more meaningful subject by clicking the .


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61449
    
  67

Your question is one of the most common examples of using Ajax. I'm going to move this to the HTML/JavaScript forum as it is not a JSP question.

Please search for previous posts on this topic. It's been discussed many many times.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Hi everyone