gregg wrote:
I have the folowing code implimented. when the post button is pressed
it places the info in the existing window. How can I make it open a
new window for the new data?
htp.p('<TD><A HREF=javascript:_SubmitForm("PARAMETER_FORM")><IMG
SRC="/sec/image/info.bmp" TARGET="_top" BORDER=0
ALIGN=ABSMIDDLE></A></TD>');
Sorry if there is not enough info. I am new at this.
This is item 4.37 covered by the comp.lang.javascript FAQ
In your code, img element can not have a target attribute. Also, you
should avoid using a href="javascript
: construct which is known to be
bad, to create problems. This is again an item in the FAQ (4.24).
http://jibbering.com/faq/#FAQ4_37 http://jibbering.com/faq/#FAQ4_24
Finally, best is to give an url where we can examine the code of the
whole page.
DU