I’m trying to work with the wolfram alpha api and I want to get a count back of how many <plaintext></plaintext> elements there are so I can run through them with dom.getElementsByTagName
I’m trying to work with the wolfram alpha api and I want to get
Share
Just use,
getElementsByTagName()returns a NodeList which has a propertylength.Documentation