Hallo guys

what if you have code like one below and want to use onselect

Code:
        <?php
            
              echo "<select name='states'  onclick='getClientData(this)' >\n";
              echo "<option value=''>==== choose title ====</option>\n";
              $result=mysql_db_query($db_name,"select `template_id`, `template_detail`,`template_desc`
...