Drewry is a user on social.tchncs.de. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

problem here. I'm working on a string from a DOM object inside of an anonymous function that's called by .onreadystatechange. I can't seem to .split the string, because .split isn't able to be found. Is this something I can't call i anonymous functions? Do I need to do some sort of callback thing?

@Drewry That doesn't make any sense. Usually when I encounter a problem like this it's because the thing I thought was a string is actually something else

Drewry @Drewry

@Kryten Yeah that's what I think is happening. I thought it was a string, but now I think I that I was wrong before and it's probably another thing.