I have a view in my components folder which calculates the progress in percentage and updates this on the front end. The view is being called in another view under auth/layouts. The progress gets updated on successful on page reload but I do not want to use location.reload(), I would like to update just the percentage and the div, not the entire page. Ive tried getting the script by id but this does not work. Please assist me with this.
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.