htp.formopen [message #455679] |
Wed, 12 May 2010 08:46 |
rkhatiwala
Messages: 178 Registered: April 2007
|
Senior Member |
|
|
hi,
i have two pages: PAGE 1 has button to go to PAGE 2, which opens a PAGE 2 in a new window which is fine.
PAGE 2 has PAGE 1, which when clicked should go back to PAGE 1. instead it opens a new window for PAGE 1.
I have tried using different attributes for ctarget, but either it opens in new window, or in the same i.e in PAGE 2 itself.
htp.formOpen('PAGE 1',ctarget=>'_self');
How or what attributes can i add to htp.formopen so that it goes back to PAGE 1 ?
thanks in advance,
|
|
|
Re: htp.formopen [message #455949 is a reply to message #455679] |
Thu, 13 May 2010 14:13 |
andrew again
Messages: 2577 Registered: March 2000
|
Senior Member |
|
|
My suggestion would be to make a simple HTML example that works the way you want it, then construct the HTML to achieve exactly what you want using htp.p rather than htp.formopen. htp.formopen doesn't do any magic - it just prints HTML snippets. If you are comfortable with HTML syntax, you might prefer using htp.p throughout for all HTML, javascript, CSS etc.
|
|
|
|