Hi,
I have a html table inside which i have a submit button. Now, i call a function in my javascript file, that is supposed to create a captcha, and place it in the html page within the table where i have the submit button.
And in the javascript, am doing a document.write() and pasting the image from the js file into the html page. Now i want both this image and submit inside the same table, but the submit needs to be on the html page and the image has to be in the javascript file only. Unfortunately, the image is pasted somewhere at the bottom of the page. Am pretty new to this and i dont understand how this positioning works. Is there any solution where, i can put them into the same table, inspite of both controls being in separate files?
Sample code:
in the html page: the submit button is placed inside a table in the form tag.. in the javascript file: document.write("img position=\"relative\" src=\"" + decodeURIComponent(imgdir) + imgid + ".jpg\" height=\"50\" width=\"100\" align=\"left\" style=\"margin-left: 4px;\" height=\"80\"); }
Thanks, Geetha