- Edited
Well I have a chunk of code, it seems to run correctly the second time I run it but not the first? I'm not sure why
Formatting seemed funny so I put in JSfiddle
Well I have a chunk of code, it seems to run correctly the second time I run it but not the first? I'm not sure why
Formatting seemed funny so I put in JSfiddle
Well, it's PHPBuilder, so don't be TOO upset if we don't jump all over this. Second, you have no HTML there, but you're calling document functions ... how do we test?
dalecosp It was a long shot, I cried about it on Reddit and figured out what I was doing wrong. Basically I wasn't updating the HTML I was injecting by manipulating the DOM, going to fix it now
Yes cluelessphp is me on reddit
FWIW, there are some pretty good/helpful JavaScript people on PHPBuilder's sister forum, WebDeveloper.com. Just sayin'.
NogDog I always forget about that one, getting to grips with all the client side stuff is surprisingly fun