Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var frameState = $(this).attr('id');
- <tr>
- <td>
- No Mats: <input type="radio" name="mattes-radio" align="middle"<?php if($_GET['mattes'] == 0){ echo 'checked="checked"';} ?> id="mattes-radio-0">
- </td>
- </tr>
- <tr>
- <td>
- Single Mat: <input type="radio" name="mattes-radio" <?php if($_GET['mattes'] == 1){ echo 'checked="checked"';} ?> id="mattes-radio-1">
- </td>
- </tr>
- $('#mattes-radio-0').click(function() {
- window.location = 'index-custom.php?mattes=0';
- });
- $('#mattes-radio-1').click(function() {
- window.location = 'index-custom.php?mattes=1';
- <input type="radio" id="mattes-radio-0" />
- <script>
- $("#mattes-radio-0").click(function(){
- var param = $(this).attr('id').replace("mattes-radio-","");
- window.location = 'index-custom.php?mattes='+param+'&framestate='+framestate;
- });
- </script>
Add Comment
Please, Sign In to add comment