Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Modal Confirmation trying to use for form validation
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ron Mast  
View profile  
 More options Apr 19 2010, 11:19 am
From: Ron Mast <ron...@gmail.com>
Date: Mon, 19 Apr 2010 10:19:50 -0500
Local: Mon, Apr 19 2010 11:19 am
Subject: [jQuery] Re: Modal Confirmation trying to use for form validation
Nevermind....figured it out :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ron Mast  
View profile  
 More options Apr 19 2010, 10:44 am
From: Ron Mast <ron...@gmail.com>
Date: Mon, 19 Apr 2010 09:44:56 -0500
Local: Mon, Apr 19 2010 10:44 am
Subject: [jQuery] Modal Confirmation trying to use for form validation
Good morning gang,

I'm attempting to use Modal Confirmation from
http://jqueryui.com/demos/dialog/#modal-confirmation

I have the example working and code looks like so:
<!DOCTYPE html>
<html lang="en">
<head>
        <meta charset="UTF-8" />
        <title>jQuery UI Dialog - Modal confirmation</title>
                <link type="text/css" href="../../lib/themes/base/jquery.ui.all.css"
rel="stylesheet" />
                <script type="text/javascript" src="../../lib/jquery-1.4.2.js"></script>
                <script type="text/javascript"
src="../../lib/external/jquery.bgiframe-2.1.1.js"></script>
                <script type="text/javascript" src="../../lib/ui/jquery.ui.core.js"></script>

                <script type="text/javascript"
src="../../lib/ui/jquery.ui.widget.js"></script>
                <script type="text/javascript" src="../../lib/ui/jquery.ui.mouse.js"></script>
                <script type="text/javascript"
src="../../lib/ui/jquery.ui.button.js"></script>
                <script type="text/javascript"
src="../../lib/ui/jquery.ui.draggable.js"></script>
                <script type="text/javascript"
src="../../lib/ui/jquery.ui.position.js"></script>
                <script type="text/javascript"
src="../../lib/ui/jquery.ui.dialog.js"></script>
                <link type="text/css" href="../../lib/demos/demos.css" rel="stylesheet" />

                <script type="text/javascript">

                        $("#dialog-confirm").dialog({
                                resizable: false,
                                height:140,
                                modal: true,
                                buttons: {
                                        'Delete all items': function() {
                                                $(this).dialog('close');
                                        },
                                        Cancel: function() {
                                                $(this).dialog('close');
                                        }
                                }
                        });

                </script>
</head>
<body>

<a href="#" id="showpopupbox">Click to show pupup</a>

<div id="dialog-confirm" title="Empty the recycle bin?">
        <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0
7px 20px 0;"></span>These items will be permanently deleted and cannot
be recovered. Are you sure?</p>
</div>

</body>
</html>

-----------------------------------

As you can see I'm I have a href in place trying to apply a click
event to $('#showpopupbox') but with now success.

How would I go about doing this? I want to use this in my form
validation which i'm using jquery :).

Any help is greatly appreciated. Thanks!

Ron


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »