SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist
    Join Date
    Jul 2004
    Location
    USA
    Posts
    594
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Auto Form Submit

    Hello,

    I am having trouble auto submitting a form when a Radio button is selected.

    Its works perfectly in Firefox, but does not submit in IE.

    Can anyone help me here, example:

    http://surpassarcade.com/play/17/helicopter_game.html
    BKerr

  2. #2
    SitePoint Wizard
    Join Date
    Nov 2004
    Location
    Nelson BC
    Posts
    2,310
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Although I did waste 10 minutes playing the helicopter game, I didn't see any radio buttons at all on that page. Where can they be found?

  3. #3
    SitePoint Evangelist
    Join Date
    Jul 2004
    Location
    USA
    Posts
    594
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It says Rating: ## / 10 (rate)

    click the rate button.
    BKerr

  4. #4
    SitePoint Wizard siteguru's Avatar
    Join Date
    Oct 2002
    Location
    Scotland
    Posts
    3,631
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I wonder if it is because the line before the <form> tag (which is a <table> tag) has no closing > on it? (In View Source anyway in Firefox. In View Generated Source the closing > is shown).

    The onClick="this.form.submit();" for each radio button should be OK.

    PS - nice game.
    Ian Anderson
    www.siteguru.co.uk

  5. #5
    SitePoint Evangelist
    Join Date
    Jul 2004
    Location
    USA
    Posts
    594
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, I fixed it.

    The > was missing on the table, but I also moved the <form> tags so it wrapped the whole table and not just the <tr><td> parts and one of them fixed it.
    BKerr


Bookmarks

Posting Permissions

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