Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <label for="type">Type</label>
- <select name="type" id='type'>
- <option value="Customer">Customer</option>
- <option value="Revenue">Revenue</option>
- <option value="Guide">Guide</option>
- <option value="Internal">Internal</option>
- </select>
- <label>SMS_Outage</label>
- <input id='outage' type="radio" name="to1" value="1" checked='checked'>
- <label>AD_Outage</label>
- <input id='ads' type="radio"name="to1" value="2">
- <br/>
- <script>
- $('#type').change(function() {
- if ($('#type').attr('value')=='Guide') {
- $("input#outage").check();
- }
- else
- {
- $("input#ads").check();
- }
- });
- </script>
Add Comment
Please, Sign In to add comment