Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script type="text/javascript" src="/Scripts/jquery/jquery-1.3.2.min.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- $("input[name='field_listwednesday[value]']").click(function(e) {
- if ($(e.target).val()==1) {
- alert("You are open on Wednesday");
- }
- });
- });
- </script>
- </head>
- <body>
- <input id="edit-field-listwednesday-value-0" class="form-radio" type="radio" value="0" name="field_listwednesday[value]" />
- <input id="edit-field-listwednesday-value-1" class="form-radio" type="radio" checked="checked" value="1" name="field_listwednesday[value]" />
- </body>
- </html>
Add Comment
Please, Sign In to add comment