kaiiserni
05-06-2008, 03:37 PM
Hi all,
I don't have much knowledge of javascript.
For work I have to find a solution to this problem:
At a certain Survey website we can add some modules in html or javascript code.
A problem is that we can't access or edit the <heading> section nor changing any other module preinstalled on that site.
There is a textbox where our clients can enter a URL to their uploaded picture.
Now we want to make a module on that same page that views the picture entered in that html textbox.
Java script works. (hello world script)
After a lot of googling and trying I only have this:
the textbox: <form name = "SurveyForm" ><input type="text" name="Q[871]" size="50" ></form>
the script code I have so far (remember I am not able to edit the page's heading):
<script LANGUAGE="JavaScript">
var url = "document.SurveyForm.Q[871].value";
</script>
But document.write(url); doesn't give me anything so I assume he won't certainly get a picture out of it.
Can somebody please help me out?
Thanks!
I don't have much knowledge of javascript.
For work I have to find a solution to this problem:
At a certain Survey website we can add some modules in html or javascript code.
A problem is that we can't access or edit the <heading> section nor changing any other module preinstalled on that site.
There is a textbox where our clients can enter a URL to their uploaded picture.
Now we want to make a module on that same page that views the picture entered in that html textbox.
Java script works. (hello world script)
After a lot of googling and trying I only have this:
the textbox: <form name = "SurveyForm" ><input type="text" name="Q[871]" size="50" ></form>
the script code I have so far (remember I am not able to edit the page's heading):
<script LANGUAGE="JavaScript">
var url = "document.SurveyForm.Q[871].value";
</script>
But document.write(url); doesn't give me anything so I assume he won't certainly get a picture out of it.
Can somebody please help me out?
Thanks!