Menu
Hi All,
I am a beginner in web programming, CGI and Javascript. I had to fix a bug in an already developed project.
It is a CGI script. There is a pull down menu (select), and onChange the self.location must use the text entered in the previous textarea field. If we use param method of CGI module, it represents the text literally and the javascript syntax is broken for each newline in the textarea value. On opening the script, the browser throws an error saying that ‘Unterminated string constant …”
To summarize, how do we represent a textarea value for self.location and use it back again.
Thanks in advance.
Tejo.