I have this in the body:
<div id="map"style="width: 400; height: 400" ></div>
I tried creating a variable and updating it like this:
<div id="map"style="width: map_size; height: map_size" ></div>
I also tried creating a function as well as setting it another way:
function getComboA(sel) {
map_size = sel.options[sel.selectedIndex].value;
$("#map").css("width", map_size);
$("#map").css("height",map_size);
I attempted to get the value for map_size from a drop down menu, I'm not sure how to test if it's working correctly but the map is not showing up.
I'm new to this so I'm probably misunderstanding something basic, any help is appreciated.