In my website, the pages where i allow the users to update their details(such as - change password and update contact details), i want to open them in new window, rather than the current one.
Can you please tell me what should be the code for it?
What i know is only that - the code comes in <a href....> tag.
Pls. help.

Recommended Answers

All 3 Replies

That's an html question...
You need to set the target attribute of the a tag to a non-existent frame, that's all that's required.

window.location=".jsp" target=""

Hey, thanks a lot, i got it. we have to write it as follows -
<a href="MyPage.jsp" target="_blank"></a>

Thanks for your replies.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.