2022-05-24 UTC
angelo, ben_thatmustbeme, jsbach, gRegor, NewNewNew, [jamesg483], [Zandy_Ring], [echo], scojjac and dronerdude joined the channel
# 19:15 dronerdude hi everyone :)
# 19:15 dronerdude is it OK to ask a Wordpress code question here?
[tw2113_Slack_] joined the channel
# 19:21 [tw2113_Slack_] it is the WordPress channel after all
# 19:24 dronerdude I have a probably fairly stupid newbie question; in a WP Code Snippet (PHP) I'd like to do some DOM editing... for instance, I have: $links = document.getElementsByTagName("a"); Error message is: document is an undefined constant
# 19:24 dronerdude the script is hooked on 'shutdown', I figured the DOM must be rendered by then
# 19:25 dronerdude it's probabaly a variable scope thing but I can't get my head around it
# 20:16 [tw2113_Slack_] GWG congrats on the WP 6.0 props
# 20:17 [tw2113_Slack_] dronerdude that looks like a mix of PHP and javascript
# 20:17 [tw2113_Slack_] at least for what part I’ve seen so far
# 20:18 dronerdude Actually it was just hitting me that I probably caanot change live html using php :P
# 20:19 dronerdude And I see what you mean now, thanks
# 20:19 dronerdude i'll try to do it with js instead
wagle joined the channel
# 22:18 GWG [tw2113_Slack_]: I forget what I did