r2390 - Added demo for mask escaping.

r2390 - Added demo for mask escaping.


Author: powella
Date: Fri Mar 27 11:37:34 2009
New Revision: 2390
Modified:
branches/dev/mask/demos/mask/default.html
Log:
Added demo for mask escaping.
Modified: branches/dev/mask/demos/mask/default.html
==============================================================================
--- branches/dev/mask/demos/mask/default.html    (original)
+++ branches/dev/mask/demos/mask/default.html    Fri Mar 27 11:37:34 2009
@@ -25,7 +25,8 @@
        $("#eyescript").mask({mask: "~#.## ~#.## ###"});
        $("#po").mask({mask: "PO: aaa-###-***"});
        $("#pct").mask({mask: "##%"});
-        $('#_TextCharacterRange').mask({mask: '[1-9]#%', enableInlineDefs: true})
+        $('#_TextCharacterRange').mask({mask: '[1-9]#%', enableInlineDefs:
true});
+        $('#_TextEscape').mask({mask: "##-#### \\?\\a\\\\"});
        
        $("input")
            .bind('blur.mask', function() { $("#info").html("Unmasked value: " +
$(this).mask('value') + '<br/>' + "Masked Value: " +
$(this).mask('formatted')); })
@@ -109,6 +110,12 @@
            <td><input id="_TextCharacterRange" type="text" tabindex="7"/></td>
            <td>[1-9]#%</td>
        </tr>        
+        <tr>
+            <td>Mask Escaping</td>
+            <td><input id="_TextEscape" type="text" tabindex="7"/></td>
+            <td>##-#### ?a\</td>
+            <td>Escaping allows defining literal characters in the mask which are
also defined as definitions.</td>
+        </tr>
        <tr>
            <td>Non-Input Element</td>
            <td colspan="3">