/    Sign up×
Community /Pin to ProfileBookmark

Target Attribute Error in IE6

I am testing the “target=” attribute of <a> and <form>:

[code=html]<body>
<a href=”../img/img1″ target=”images_win”>load image 1 </a>
<form action=”../img/img1″ target=”images_win” method=get>
<input type=submit />
</form>
</body>[/code]

Or here:

[url]http://www.geocities.com/alecleekya/targetwin/empytarget.html[/url]

If I submit the form, the image is loaded in a new window as expected. However, if I click the link, the image is unexpectedly loaded in the current window (replacing the current content) instead of going into a new one. Did I make any mistake? I tested the page under IE6 WinXP. Is it a bug of IE ? Can anyone click my link and advise me the result and your browser type?

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@KDLAJul 31.2007 — It doesn't work in Firefox, either.

BTW - cute cat. ?
×

Success!

Help @Jet_Li spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...