/    Sign up×
Community /Pin to ProfileBookmark

Simple question on exec’ing cgi in javascript

Our application that popups a window or new tab. It execs a cgi to generate the new page, basically with window.open(“/modifyOp.cgi?id=32”)

The cgi will gather what it needs and generate the new page. We no longer want to popup a new window/tab and want to have it generate in the current browser window (and once the modify operation is complete, modifyOp.cgi should exec a cgi to update the calling page to show the updates).

Problem is I can’t find how to do it in the current window. I know this is real simple and it’s probably my lack of the dom architecture showing badly. Can someone clue me in. I’ve searched but alas, no luck. It’s probably so easy it’s staring me in the face.

Viking

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@phpnoviceApr 01.2006 — Show the HTML that is driving the execution of the window.open() processing?
×

Success!

Help @vikingdude 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.16,
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,
)...