Hello, I have an easy script, that works in all browsers, except IE(8, haven't tryed lower versions yet).
$('.deleteItemIcon').click(function() {
var deleteConfirm = confirm('Do you really wanna delete that item?')
if (!deleteConfirm) {
return false;
}
});
Can you see a reason, why that shouldn't be working, if yes, how to…
Hi All,
I am using the following code to show confirmation dialog box after finishing some update process in database. but it is not working for me.
code:
string javaScript = "<script language=JavaScript>\n " + "if(confirm('Do you want to update
the files?'))window.location.href = \"Upload.aspx?ID=" + ID +
"&pt=Gm&page=Gms\";…
Hi All,
I am using the following code to show confirmation dialog box after finishing some update process in database. but it is not working for me.
code:
protected void imbtnUpdate_Click(object sender, ImageClickEventArgs e)
{
// Database process
string javaScript = "<script language=JavaScript>\n " + "if(confirm('Do you…
I want to have a confirm box when user tries to close the window.
window.onbeforeunload = function (evt) {
var message = 'Are you sure you want to leave, cause there are some unsaved changes?';
if (typeof evt == 'undefined') {
evt = window.event;
}
if (evt ) {
evt.returnValue = message;
}
return message;
}
The thing is i want to…
I was under the impression that this was formed correctly, but here it is forwarding to the anchor href (clicking through? what should I call this?) whether or not the user selects cancel or okay.
<script type="text/javascript">
function myconfirm(my_string)
{
var…
This is a general type question that I dont know what code I could post that would help get an answer. So I apologize in advance, but if some piece of code would help, please let me know and Ill add it.
The question is, how do I confirm that a pdf loaded in a web browser when using Ruby/Cucumber/Watir Webdriver? My test clicks on a random…
what im trying to achieve is that when an admin views a list of members, they can click a link to resend the instructions on how to confirm that members accounts.
this is the code im using to try and achieve this
= link_to 'Resend Confirmation', confirmation_path(:user => {:email => user.email}), :remote => :true
im hoping that…
I have created a custom cofirm message box control and I created an event like this-
[Category("Action")]
[Description("Raised when the user clicks the button(ok)")]
public event EventHandler Submit;
protected virtual void OnSubmit(EventArgs e) {
if (Submit != null)
Submit(this, e);
}
The Event OnSubmit occurs when …
I am trying to make it so that the user is prompted to confirm exiting my program in c#, but for some reason, if they say "yes" they would like to exit, the confirmation box would pop up again. I can't figure out why.
if (MessageBox.Show("Are you sure you want to exit?", "Confirm exit", MessageBoxButtons.YesNo,…
Hi all,
I'm using devise to handle user authentication with my rails app. I'd like to allow my users to sign up and be instantly logged in and receive a confirmation email.
Devise has the Confirmable module which sends out an email but requires the user to open up their mail application, find the email and click a…
<p><span class="linky"><a href="deletephone.php?id=' . $row['id'] . '">Delete Phone</a></span></p><br />
I have the above code that I am using to link to a delete script.
I want to somehow incorporate Javascript with a simple onclick confirmation. This way if they choose…
I want to make a web application were people are paying money (for example through mastercard/visa/paypal etc.).
My question is: can it somehow be made that the money transfers are made only after a longer period when a condition is met in my web application.
Hi
When entering code in CMS static block(possible page as well) and in this code there is empty DIV tags such us:
<a href="javascript:hide1(),show2(),hide3()"><div class="dropoff_button"></div></a>
The DIV tags will be gone next time you open the block to edit. it…
In my JSP page I am using post method while submitting the page.
So once I go from Page 1 to page 2. In Page 2, If I press F5 I am getting alert as
"To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier."
I knew…
The question last quite a long time and for many outlook is normal to get the read receipt. So it would be interesting whether to wait the solution from gmail team or not.
Hi everyone
My problem is that when the condition is true it will close the window but not execute the php part !
here goes my code..
function onClose()
{
var r=confirm("Is the meeting Over!");
if (r==true)
{
window.close();
}
else
{
}
}
</blink>
this…
Below is the code from a plugin for Joomla. It works on it's own and it's purpose is to detect external links on the page and force them into new browser windows using _blank.
I've tried for about an hour (I don't know javascript well) but I can't seem to figure out how to get an onclick function working.
…
This question notes that it is possible to overwrite files when creating a tar archive, and I'm trying to see how to avoid that situation.
Normally, I'd use file roller, but the version installed is playing up a bit (using 1.1 Gb of memory), and I'm not the system administrator.
I looked at --confirmation…
The question last quite a long time and for many outlook is normal to get the read receipt. So it would be interesting whether to wait the solution from gmail team or not.
I have a stored procedure which is doing a lot of delete. Hundreds of thousands of records. It is not going to be runnable from the application, but still, i am concerned, that one of my clients accidentally runs it (i had problems earlier due to their "curiosity") :D
Yes. there are backups and stuff like…
I am developing a website as part of my final year project and I want to display a message which confirms that an email has been sent.
I know how to display custom error messages on a form i.e. You cannot go any further until the following errors are fixed : login name not known!
I want to display a…
How to confirm any SATA/PATA Hard disk is perfect no problem? no bad sector on any other problem. I'm purchasing just 2 month used SATA HDD from a friend in less price.
How can i confirm hard disk will work perfectly, current condition is healthy.
Hi
I have a Registaration page with the following fields Email, Confirm Email, Password and Confrim Password.
On Register Button click and post the model to the server, the Model validates and if that Email is already Registered, it displays the Validation Error Message "User already Exists. Please…