Server IP : 80.241.246.6 / Your IP : 216.73.216.188 Web Server : Apache/2.4.25 (Debian) System : Linux kharagauli 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64 User : www-data ( 33) PHP Version : 7.0.33-0+deb9u12 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/kharagauli1/moduls/weather/Country_city/ |
Upload File : |
<html> <head> <title> Populate States dropdown on change of Country Dropdown using Javascript : devzone.co.in</title> <script type= "text/javascript" src = "countries3.js"></script> <style> .main { width: 900px; margin: 0 auto; height: 900px; border: 1px solid #ccc; padding: 20px; } .header{ height: 100px; } .content{ height: 700px; border-top: 1px solid #ccc; padding-top: 15px; } .footer{ height: 100px; bottom: 0px; } .heading{ color: #FF5B5B; margin: 10px 0; padding: 10px 0; font-family: trebuchet ms; } /* #downloaded from http://devzone.co.in */ </style> </head> <body> <div class="main"> <div class="header"><a title="devzone.co.in" href="http://devzone.co.in/"><img alt="devzone.co.in" src="http://devzone.co.in/wp-content/uploads/tn_mesocolumn_header_logo.png"></a></div> <div class="content"> <div class="heading"> Populate States dropdown on change of Country Dropdown using Javascript </div> <table cellspacing="2" cellpadding='2'> <tr><td> Select Country:</td><td> <select onchange="print_state('state', this.selectedIndex);" id="country" name ="country"></select></td></tr> <tr><td> City/District/State:</td><td> <select name ="state" id ="state"></select></td></tr> </table> <script language="javascript">print_country("country");</script> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-43091346-1', 'devzone.co.in'); ga('send', 'pageview'); </script> </div> <div class="footer"><a href='http://devzone.co.in'>DevZone.co.in</a></div> </div> </body> </html>