Skip to content

Tag: javascript

how can i extract a specific element from the html

I am trying to extract an element from the html with the function that I have. I have an input where I put the url of a page and the function brings me the complete html of the page this is the html that it throws me, now what I want is to extract that div element with the offer

JavaScript object property containing dot [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 8 months ago. Improve this question I am…

Looping over an object to change values inside

I am trying to send an object to an api and my object contains arrays that I want to turn into strings. However I am having trouble returning the new object with the arrays turned to strings. My goal is to have a copy of the original object with all the arrays turned into strings. Answer You are not assigning