Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Javascript only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Javascript
Is there any return value for alert box?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
subalakshmi
New Member
Join Date:
Jan 2007
Posts:
1
#1
Is there any return value for alert box?
Jan 11 '07, 05:08 PM
I want to redirect to some other page when i click OK button in the alert box.. how can I do that?
iam_clint
Recognized Expert
Top Contributor
Join Date:
Jul 2006
Posts:
1207
#2
Jan 11 '07, 05:12 PM
an alert halts the script untill the ok button is pressed if i am not mistaken so you can do alert then window.location afterwords and should give you what you were looking for
Comment
Post
Cancel
Rathorevivek
New Member
Join Date:
Dec 2006
Posts:
17
#3
Jan 30 '07, 09:32 AM
Originally posted by
subalakshmi
I want to redirect to some other page when i click OK button in the alert box.. how can I do that?
Hi Laxmi,
add
return true
after the alert u have mentioned in ur code.
Regards,
Vivek Rathore.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment