/    Sign up×
Community /Pin to ProfileBookmark

opening a new page in the same window

Hallo 🙂

The following code works in both Firefox 1.5 and Safari 1.3.1 on my Mac (G4 iBook, OS 10.3.9), but not in Internet Explorer 5.2 (nothing happens).

Please can anyone tell me why, and what I can do about it?

TIA.

<a href=”gallery2.html”><input value=”Click Here” name=”submitButtonName” type=”submit”></a>

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@metalman3dFeb 03.2006 — You need to specify the page you want to go to in your form tag or have an onclick event.

<form action="page1.html">

<input type="submit" value="go">

</form>

or

<INPUT TYPE="submit" onClick="parent.location='page1.html'"> ...
Copy linkTweet thisAlerts:
@Colm_OsirisauthorFeb 03.2006 — Thank you, I'd forgotten about onClick. It works brilliantly. I was afraid I'd need some Javascript!

Re. your signature,

"You need chaos in your soul to give birth to a dancing star" - Friedrich Nietzsche
×

Success!

Help @Colm_Osiris 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.19,
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,
)...