/    Sign up×
Community /Pin to ProfileBookmark

Popup problem

Hi

I’m calling a popup window from my main page using …

function NewCity()
{
void 0;
LocationWindow = window.open(“popup_location.asp?Action=Add&Page=Client” ,”Location”,”width=400,height=150,left=600,top=300, toolbar=0,status=0,location=0,menubar=0,scrollbars=0,resizable=0″);
}

…then returning to the main page, when the details have been entered……
newOpt.text = document.frmLocation.TxtLocation.value;
close();

However, the mousepointer remains as an hourglass and the screen flickers as if its still processing, which it isn’t.

How can I stop this ?

Thanks
lbob

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@gil_davisFeb 17.2004 — What is this for?
void 0;[/quote]Are you confusing JS with C?
Copy linkTweet thisAlerts:
@lbobauthorFeb 17.2004 — I was told to put void 0; in, don't know why!?!
×

Success!

Help @lbob 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 6.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...