Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,686
Thanks: 42
Thanked 637 Times in 625 Posts
Colons in "id" tags give jQuery fits
I was using an id name of "TEST:002:INPUT" on an entry field, which is technically valid, but I could not pull the value of the entry field using $("#TEST:002:INPUT").val(); -- was just returning "undefined". Once I changed the colons to underlines, I was able to pull the value with no problem.
It only took me 2 hours to figure out what the problem was
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,686
Thanks: 42
Thanked 637 Times in 625 Posts
Well dang I should have tried that, once I figured out the colons were a problem. By then, I just wanted the stupid thing to work so I was happy to just switch to underlines! But thanks for the tip