Changes

JavaScript - Modifying List Contents Dynamically

2 bytes added, 14:58, 11 September 2014
no edit summary
//First we make sure the elements exist on the page.
if ( document.getElementById(strQuestion1) && document.getElementById(strQuestion2)){
//We extract what Question 1 has been set to
}
else {
alert ('Sorry items not found.');
}
}