A fellow stackoverflow member, @mrtsherman, helped me put together this little script that is supposed to generate a sentence based on the input of some form fields. I changed it up a bit to fit with my website, and was wondering if there’s a way to optimize the code? (especially the ‘case’ part)
Thanks!
Fixed it: http://jsfiddle.net/pktMJ/4/