jQuery4PHP Current Release: v1.7.0 - Stable

jQuery version: v1.8.2

jQueryUI version: Stable (1.8.24: jQuery 1.3.2+)

jQuery4php API

JqMask

Hide navigator Hide source code

Masks and rules


<?php
//For use the plugin
YsJQuery::usePlugin(YsJQueryConstant::PLUGIN_JQMASK);
?>


Sintax:<br/>
<b>Masks:</b><br/>
<?php
echo
YsJQMask::setMasks(array(
  'phone' => array('mask' => '(99) 9999-9999'),
  'phone-us' => array('mask' => '(99) 9999-9999')
))
?>
<br/><b>Rules:</b><br/>
<?php
echo
YsJQMask::setRules(array(
  'z' => new YsArgument('/[a-z]/', false),
  '@' => new YsArgument('/[0-9a-zA-Z]/', false)
))
?>

Sintax:
Masks:
jQuery.mask.masks({"phone": {"mask": "(99) 9999-9999"},"phone-us": {"mask": "(99) 9999-9999"}})
Rules:
jQuery.mask.rules({"z": /[a-z]/,"@": /[0-9a-zA-Z]/})

About

Demos

jQueryUI

Plugins Support - New!

Components - New!

Project Developed by The YepSua Team
SourceForge.net