How can I return the value of disabled drop-down field after submit?




In form:-

            State
            :
           
disabled="disabled" class="txtbox_edit_info">
                        {?>
               
               
             
         
         
         
            Country
            :
            disabled="disabled"  class="txtbox_edit_info">
                        {?>
               
               
             
         

Using JavaScript on form submit:-

 
onsubmit

="document.getElementById('DisState').disabled = false; document.getElementById('DisCountry').disabled = false;"  name="edit_information"
method="post"
action="test1.php">
        

Comments

Popular posts from this blog

8 Best CMSs for building a well structured social networking website

​ PHP Web Programming and Business Benefits of PHP Development