Java

Java is a set of computer software and specifications developed by Sun Microsystems, which was later acquired by the Oracle Corporation, that provides a system for developing application software and deploying it in a cross-platform computing environment. Java is used in a wide variety of computing platforms from embedded devices and mobile phones to enterprise servers and supercomputers.

123

Sunday, July 15, 2012

Add Dropdown Country & State List Dynamically into HTML form by Javascript

In this post, we are going to see how to implement the dynamic dropdown with selected values.<html><head><script lang="javascript"> var arr = new Array(); arr[0] = new Array("-Select District-"); arr[1] = new Array("Anantapur", "Chittoor", "Kadapa", "Kurnool"); arr[2] = new Array("Bellary", "Bangalore", "Mysore", "Udipi"); arr[3] = new Array("Madras", "Salem", "Coimbuttur"); function stateChange(State) { ...