/    Sign up×
Community /Pin to ProfileBookmark

Popup javascript on PHP page after confirmation

Hi I tried sending a new message but it didn’t show up. I’ll try again.

I’m looking for any kind of ideas for adding a popup box on confirmation of a purchase with an open source online store script.

I’ve messaged on their bulletin board but they’re not responding.

I’ve tried this code as a test and it works on click. However I cannot add or format any other text verbiage or email link. I’m not looking for any special kind of effects. Just a message box with a close button and allows html. The PHP code has no head tags either. Which makes it harder because practically all of the scripts require adding the javascript to the head and a form to the body.

[code]echo “<script type=’text/javascript’>alert(‘Really annoying pop-up!’);</script>”;[/code]

Thank you ahead of time for any help. It’s greatly appreciated.

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@jernatetyauthorDec 12.2012 — I guess I should note, this popup is a special being run by the online proprietor.

I went through the search and found a lot of negative response for popup help. This is different. It's strictly for an online store special offer after the purchase is made. If I'm allowed to post the open source code for the "Success.php" page on completion of order, I can do that.

Thank you again.
×

Success!

Help @jernatety 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.22,
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,
)...