Buy Now
Sign in

Target attribute on redirect

touretteroma , May 01 2019, 09:00
T
touretteroma 78
May 01 2019, 09:00 #386447
Dear all,
it would be possible to set "target" attribute to a "redirect" action, in order to open a new browser tab?
Regards
healyhatman 9
May 02 2019, 02:02 #386472
What do you mean sorry, and why not just have the link have "target=_blank" ?
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
T
touretteroma 78
May 02 2019, 09:43 #386475
yes, a link could be a solution.
I would like to link to "submit" event passing a couple of parameters.
Regards
healyhatman 9
May 02 2019, 09:59 #386476
Then put &event=submit in the link
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
S
solarcatfive 1
June 29 2021, 11:18 #396753
When the Button is clicked, first the SetTarget JavaScript function is called inside which thetargetproperty of the Form is set to_blankand after that the Server Side function is executed. Inside the Button Click event handler, the Response.Redirectcode is executed and the Page opens in new Tab.