The page is opened in the wrong target window

S

staeri

I have the following code attached to an ImageButton which opens a page
in a new window:

ImageButton2.OnClientClick =
"document.forms[0].target='page3';document.forms[0].action='Invoice_create.aspx';"

The problem is that when I click a button or a link in the original
window after that everything is opened in a new window not in the
original target window. It looks like I have to reset this somehow
after running the code above.

Is there a solution to this?

Regards,

S
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top