/    Sign up×
Community /Pin to ProfileBookmark

How do I force a new window?

I have a form some HTML that will use PHP to perform some calculations. The calculations will be displayed in a new window. If the window is not open, the windows must be opened. If the window is alreayd open, then it should just be refreshed. How do I do this? A exact example of what is requried is this…

[url]http://www.spellowhouse.com/gothic_lighting.htm[/url]

buy something. You see? Paypal opens a new window ( this is not part of the code in the Form.). If there is a subsequent submit, Paypal either re-opens the window ( if it has been closed ) or refreshes the existing window.

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@ScleppelMar 19.2005 — i think it's being done by the target attribute in the form tag. It is 'asking' for it to be opened in a window called paypal, if it doesn't exist it makes it.

I don't think anything like this can be done with PHP because it is server side, not client side.
Copy linkTweet thisAlerts:
@SuzanneBauthorMar 19.2005 — Oh, could be, I must admit that my knowledge of forms is weak. I will go experiment.
Copy linkTweet thisAlerts:
@SuzanneBauthorMar 19.2005 — Oh, you are absolutely right! :-)
Copy linkTweet thisAlerts:
@ScleppelMar 19.2005 — Happy to help. ?
×

Success!

Help @SuzanneB 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.28,
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,
)...