Guest User

Untitled

a guest
Jul 15th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. <html>
  2. <head>
  3. <script type="text/javascript" src="/Scripts/jquery/jquery-1.3.2.min.js"></script>
  4. <script type="text/javascript">
  5. $(document).ready(function(){
  6. $("input[name='field_listwednesday[value]']").click(function(e) {
  7. if ($(e.target).val()==1) {
  8. alert("You are open on Wednesday");
  9. }
  10. });
  11. });
  12. </script>
  13. </head>
  14. <body>
  15. <input id="edit-field-listwednesday-value-0" class="form-radio" type="radio" value="0" name="field_listwednesday[value]" />
  16. <input id="edit-field-listwednesday-value-1" class="form-radio" type="radio" checked="checked" value="1" name="field_listwednesday[value]" />
  17. </body>
  18. </html>
Add Comment
Please, Sign In to add comment