text - Php style show function -


hi guys want on click of button "show" following inputs became visible, can me?

<input id="show"type="submit" value="change" > <input id="oldpass"type="text"value="" style="display: none"> <input id="newpass"type="text"value="" style="display: none"> <input id="cambia"type="submit"value="" style="display: none"> 

<form action="<?php echo $_server['php_self']; ?>" method="post"> <input id="show" type="submit" name="submit" value="change" > </form>  <?php      if ( isset($_post['submit']) ) {        echo "<input id='oldpass' type='text' value=''>";        echo "<input id='newpass' type='text' value='' >";        echo "<input id='cambia' type='submit' value='' >";     } ?> 

you can use one.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -