ajax()
methodajax()
method and with the little help of any server side scripting language like PHP.onchange
event of country & state select inputs & apply your logic. I have fiddled here for getting states dynamically on selecting a country, you might be able to code the rest yourself - Fiddle.change()
events of the three text boxes such that: