Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2011
    Thanked 0 Times in 0 Posts

    Problem with radio button onclick

    Hi there,
    I'm soo stuck on particular piece of code..

    You see i have 2 radio buttons with values 12hr and 24hr; on clicking any of the above the time format should change automatically.

    by default the time format comes in 12hr format against onload event of <body>.

    I've tried using javascript but this problem is persisting...

    Can anyone help me pleassssse..

  • #2
    Senior Coder
    Join Date
    Dec 2010
    Thanked 570 Times in 563 Posts
    <sarcasm on>
    Of course I can help you. As I can clearly see from your code your effort should be enough to convert the 12hr format into 24hr format and vice versa. The problem must be somewhere outside of Javascript
    <sarcasm off>


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts