Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Radio buttons not populating correct amounts in WP site

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #161463
    kurstxmo
    Participant

    Hi,

    I’m working on a wordpress site (www.pretendcity.org) that is using javascript to populate data and add up some dollar amount totals. There are actually two different pages in question here:

    http://pretendcity.org/poker/

    http://pretendcity.org/golf/

    The poker page was already there before I started working on this site and we wanted to basically duplicate it and tailor it to a golf theme. I was able to duplicate that page okay and style it with CSS, but the problem is that we wanted to add a couple more checkbox fields under “I would like to become a Golf Tournament sponsor!” which were “hole sponsor” & “tee sponsor”. Javascript is being used to add up and populate the dollar amounts under “Total cost” for each box that is checked, so without touching the js file at all I was able to get the new checkboxes to work by editing the html fields like id=”chk8″ & name=”custom6″. I guess in doing that it messed up what was going on with the radio buttons under “I would like to make a donation” and now I’m not quite sure what I need to do to fix it as I do not yet have a handle on javascript and how it works exactly.

    The secondary issue is that the original poker seems to work fine in chrome and iE, but the radio buttons under “I would like to make a donation!” do not seem to be working in Firefox for both the poker and golf pages.

    Any help is appreciated!

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.