View Single Post
Old 11-05-2012, 11:38 PM   PM User | #2
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,237
Thanks: 59
Thanked 3,998 Times in 3,967 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
This line is bogus:
Code:
		sizeSelection = document.getElementByName('size').value;
Just get rid of it.

Put
Code:
var sizeSelection = "No size selected yet";
as the first line of JS code.

This isn't an elegant solution, but it should work.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Users who have thanked Old Pedant for this post:
Redwards34 (11-06-2012)