Posted by jmut on Thu 12th Jul 23:51
download | new post
- <?php
- ?>
- <form name="iForm" method="POST" action="">
- <input type="radio" name="is_company" value="no" onclick="javascript: document.getElementById('changeButton').click();">Private
- <input type="radio" name="is_company" value="yes" onclick="javascript: document.getElementById('changeButton').click();">Company
- <input type="image" name="changeButton" value="Change" id="changeButton" alt="changebutton">
- </form>
- <script language="javascript">
- document.getElementById('changeButton').style.display = 'none';
- </script>
- FF output on clicking Private radio
- array ( 'is_company' => 'no', 'changeButton_x' => '', 'changeButton_y' => '', 'changeButton' => 'Change', )
- IE output on clicking Private radio
- At first thought it is because of display=none that IE does not include button in post...but even if shown...it is not part of request either :(
Submit a correction or amendment below. (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.