John "The Gneech" Robey (the_gneech) wrote,
John "The Gneech" Robey

  • Mood:

Ah, Javascript. I Forgot How Much I Hated You!

Okay, so I've got this script that goes through a form on the page, finds a checkbox with an ID of "6," and sets that to "checked." All very straightforward.

...except that it also changes the checkbox with an ID of "18" to "checked" at the same time, for no readily apparent reason.

...and if I tell it to check/uncheck the checkbox with an ID of "18" it just doesn't do anything.

I think ... I may cry.

-The Gneech

EDIT: I found it. Turns out that I had one function being used for two different (and contradictory) things. Broke it into two functions, and it works now.
Tags: i.t., work

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened