MaRiJaWaNa
Programmer
Alright i got this code
try {
var menu = document.getElementbyID("awmAnchor-menu");
} catch(err) {
try {
var menu = document.getElementbyID("nomenu");
} catch (err) {
//Do Nothing
}
}
and the reason it tries both is because the id could be both is this wrong?
try {
var menu = document.getElementbyID("awmAnchor-menu");
} catch(err) {
try {
var menu = document.getElementbyID("nomenu");
} catch (err) {
//Do Nothing
}
}
and the reason it tries both is because the id could be both is this wrong?