setAttribute("value" , flavor of cake)

I'm not sure if this is needed or not.