Message from JavaScript discussions

November 2020

β€” So how it displays on the website.. that's all front-end?

β€” 

Yep. you need to write the code to retrieve the data and depending on the library, you need to add the marker or popup or whatever on the map

β€” Oh ok. I get you.

β€” Rest api task - just askπŸ€”
homework api task - just don't ask

β€” Post or get tho

β€” Guys do you prefer Google or Microsoft products?

β€” Ms

β€” Any that works🀀

β€” Which works better, wins, right

β€” I don't like buying products I like investing in solutions or some crap. Like, whatever works sometimes. But for me what works plays nicely with open hardware and software platforms and if it doesn't then you're out.

Message permanent page

β€” $("#bxs li").click(function () {
var value = $(this).attr('id').replace("-", "");

$("#dialog").data("clickedfrom", value ).dialog("open");
//return false;

});


// Okay button from the dialog.

$(".okaybtn").click(function () {
var $dialog = $("#dialog");
// value is the variable from the previous function
localStorage.setItem( $dialog.data( "clickedfrom" ), "test");
$dialog.dialog("close");
//return false;

});

Message permanent page

β€” How can i get the variable value in the second?