Skip to content

Function recursion advice

I am building an employee tracking app. I want my app to work so that after each one of the functions for the various list selections is complete, the app will re-prompt you with the options list again. There are a few methods I can think of to achieve this but I was hoping a more seasoned developer could rec…

Trouble when parsing JSON string

I’m dumping JSON in Django view and then parsing JSON in JS to get the data. My view.py (Django) The ibm variable output in Django template is: My index.html (JS inside) The issue is: I’m having to JSON.parse double times to get the JS object. The variable mydata, despite the JSON.parse, is string…

React blank page when I try to import from another component

The react app was working perfectly until I tried to import AlertDialogSlide from confirmation.js component. There are no errors while compiling but I have a blank page. Answer check out your confirmation.js file. Maybe you make some mistake on that. I run this code after commenting confirmation.js file, it&#…

JavaScript setAttribute on page after run script

I have a script in HTML: afterload page and script run to give other elements in the console. the code HTML now is: this code <div id=”de6854″> and <iframe id=”4526d” is change ID dynamically. Now I want to change setAttribute src=”https://www.ask.com/wp-content/uploads/…