efer [mailto:charlie.grie...@gmail.com]
Sent: November-09-09 1:32 PM
To: jquery-en@googlegroups.com
Subject: Re: [jQuery] Confirm Delete
On Mon, Nov 9, 2009 at 8:58 AM, Dave Maharaj :: WidePixels.com
wrote:
I am attempting to add a class to a div before deleting it. I just
cant get the cl
On Mon, Nov 9, 2009 at 8:58 AM, Dave Maharaj :: WidePixels.com <
d...@widepixels.com> wrote:
> I am attempting to add a class to a div before deleting it. I just cant
> get the class to remove if the user selects no.
>
> Anyone have tips or a link with suggestions? I found the jquery.confirm.js
I am attempting to add a class to a div before deleting it. I just cant get
the class to remove if the user selects no.
Anyone have tips or a link with suggestions? I found the jquery.confirm.js
script but unable to add a class to the element being deleted before confirm
Thanks
Dave
Okay I'm getting there, how would i combine the delnews javascript to the
jQuery statement?
[CODE]
function delnews(user_id, user_firstname){
if (confirm("Are you sure you want to delete '" + user_firstname +
"'")) {
window.location.href = 'test.php?delnews=' + user_id;
4 matches
Mail list logo