r2367 - Tweaked the blur behavior when allowPartials is true > updated the demo html.

r2367 - Tweaked the blur behavior when allowPartials is true > updated the demo html.


Author: powella
Date: Mon Mar 23 15:42:46 2009
New Revision: 2367
Modified:
branches/dev/mask/demos/mask/index.html
Log:
Tweaked the blur behavior when allowPartials is true > updated the demo
html.
Modified: branches/dev/mask/demos/mask/index.html
==============================================================================
--- branches/dev/mask/demos/mask/index.html    (original)
+++ branches/dev/mask/demos/mask/index.html    Mon Mar 23 15:42:46 2009
@@ -1,6 +1,8 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <title>jQuery UI Mask Plugin Demo</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
    <link type="text/css" href="../demos.css" rel="stylesheet" />
@@ -14,6 +16,7 @@
        $(document).ready(function(){
            
            $.ui.mask.definitions['~'] = "[+-]";
+            //$.ui.mask.defaults.allowPartials = true; //used to allowPartials on
all instances of mask() on the page.
            
            $("#date")
                .mask({mask: "##/##/####"})
@@ -77,7 +80,7 @@
            <td>##-#######</td>
        </tr>
        <tr>
-            <td>SSN</td>
+            <td>SSN<br/>( Allows partial Input ) </td>
            <td><input id="ssn" type="text" tabindex="4"/></td>
            <td>###-##-####</td>
            <td><button type="button" id="_ButtonChange">Change Ssn
Value</button></td>