Home › Forums › JavaScript › Working on a B-tree form. › Reply To: Working on a B-tree form.
September 19, 2014 at 1:29 pm
#183632
__
Participant
Huh… so even though it’s removed from the DOM, it still works?
It’s not removed from the DOM, it’s just not displayed — no different than script
, style
, or input type=hidden
, for example. If it were removed, then no, it would not be submitted.
Right… we’re no longer using document.ready so I can’t load the script tag in the head.
You could still do it on document.ready, too. Codepen does that automatically, which is why the pen doesn’t have any problems with it.