When trying to add a ComboBox in the HTML Template a 0 (zero) appears inside the ComboBox in last position:
The code is:
Code: Select all
var mtype=new Array();
mtype["TERRAIN"]="TERRAIN";
mtype["ROADMAP"]="ROADMAP";
mtype["SATELLITE"]="SATELLITE";
mtype["HYBRID"]="HYBRID";
form.addComboBox("maptype","Map Type",mtype);
Anyways the Template is working well, but don't know why this zero appears. Any idea??
If someone like it too and want to use it, just use it! This is for the HTML5 Output.
Please, see the attachment.
Regards,
Jonatas