Hi, I’m new to javascript and computer-code-stuff in general. Just when I thought I had a grasp on a few basic principals, I discovered that web browsers are very picky when it all comes down to it.
What I made is a very simple Mad-Lib generator; the user inputs the words into text boxes and the javascript inserts them into a sentence.
The problem:
[list][*]
When used in Firefox, it will not return the sentence.
When used in Safari, it will return the sentence but instead of posting the 2nd variable, it comes up as ‘undefined’.
I found no problems with IE.
If anyone can tell me what I did wrong, I will be soooooo happy. I can’t figure this one out on my own and I don’t know any humans that can help me out. So, if you can offer any help, please don’t hesitate.
Thank you
[URL=http://www.destructiveclothing.com/other/mad_lib.html]Click Here