Message from JavaScript discussions

June 2019

— Indexes: regard to each value of the checkbox


By default, ticking a checkbox does not reload a page, then you have done that in your code ;) do you have a more complete test-case or what piece of code is else associated with that checkbox?

— Jjust this

— Asynchronous HTTP should not lead to have your page reloaded.

— It will send the value of each checkbox to the server side django, and will pass this value at a function to give me 2 images saved in a special directory

Message permanent page

— What is the function body?

— Maybe the problem are in the server side?

— Sorry, I was busy

— Get_index(inputObj):
var indexes = input.value;

— What is the response of the server?

— 2images

— A server side cannot force the client to reload, especially not when the client loads it async