Hi all. How to redirect to other page when press ok button on alert message - function checkstatus()
-
{
-
var status = document.getElementById("status").value;
-
-
alert(status);
- <input type="submit" name="Submit" value="Submit" onClick="checkstatus()">
10 2858 kovik 1,044
Recognized Expert Top Contributor
Directly after the alert, write window.location = whatever.
Directly after the alert, write window.location = whatever.
Volectricity thx for your code but it cant be used as error occur
pbmods 5,821
Recognized Expert Expert
Heya, chaos.
Volectricity thx for your code but it cant be used as error occur
What error?
Heya, chaos.
What error?
when i press the submit button , bottom of the web page occur a exclamation sign
Even though i redirect to other page like www.yahoo.com . The page still remain the same.
kovik 1,044
Recognized Expert Top Contributor
Check the console for the error and tell us what it is.
Check the console for the error and tell us what it is.
i using dreamweaver 8 but there is not error occur . But on the web page , the error occur on the button kovik 1,044
Recognized Expert Top Contributor
The exclamation mark means there's an error (Internet Explorer, right?) I think you bring up the console in IE by either double clicking the exclamation mark, or right clicking it.
The exclamation mark means there's an error (Internet Explorer, right?) I think you bring up the console in IE by either double clicking the exclamation mark, or right clicking it.
i cant click on the exclamation mark as it appear too fast and gone.
kovik 1,044
Recognized Expert Top Contributor
Well, if this was posted on the correct forum, I'm sure you may have found a thread on viewing the console (though, I'm not sure if it's actually there, but it probably is).
In IE, go to Tools and then Sun Java Console (?).
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: iceking |
last post by:
Hi,
I have a php script that checks whether the user is allowed to perform an
action. If he is not allowed; I display a warning; using the alert function.
After clicking away this function, I want...
|
by: krian |
last post by:
Hi,
I need a help from anybody. My problem is here
I wrote two WebApplication in ASP.net Using C#. The name of the
applications are (Journal.aspx and Payment.aspx). These Two pages have
DataGrids...
|
by: neeraj |
last post by:
Hi Everybody
I have one problem in my asp.net web application.
The problem is that I check the date validation in code behind;
if user not gives the valid data and press save button then I fire...
|
by: rockdale |
last post by:
Hi, all
I am coding a asp.net application as user data entry and report
interface. We also have another C#.net appplication (a server) does
some other stuff, my webserver can send and receive...
|
by: arizal |
last post by:
Hello everyone, i just saw the same thread below but was not able to get from it.
Well the problem is in the userlist page i have a list of users on the database which i get from simple sql...
| |
by: apking |
last post by:
Hi Friends,
iam newbie,This is my form Authentication script.i need to redirect another page when user correctly authenticated.how to redirect anothe rpage?
<?php
// Include the database...
|
by: gussi |
last post by:
when i used
<?php
@header("Location:google.co.in");
?>
.. the page is not redirecting to that page,,
if i remove @ sign then it is showing worning session already started(...)in...
|
by: PrasathPalani |
last post by:
Dear Experts,
I have a Datagrid with delete options. I use to confirm from users and delete record from data grid. I give confrimation after each record has deleted when a...
|
by: Anupam Jana |
last post by:
Hello All,
I want to redirect to some other directory page after displaying JavaScript alert message in ASP.net in a page.
For that I tried bellow code in our application...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |