Saving elements

Hello, i’ve been making an array and a button usiong html and javascript, and i would like to add some objects to my array and save this element so the next time i open my file, the object that i pushed inside my array is visible and i can make it appear using this :

function OpenList() {

	for( i = 0; i < joueurs.length; i++ ){

		document.write(joueurs[i]);
		document.write('</br>');
	}
}