Spry

最小値および最大値の指定

このオプションは、"integer""date""time""currency"、および "real" の検査の種類でのみ使用できます。

 テキストフィールドの最小値または最大値を指定するには、次のように、コンストラクタに minValue プロパティまたは maxValue プロパティ (あるいはその両方) と値を追加します。
<script type="text/javascript">
	var textfieldwidget1 = new Spry.Widget.ValidationTextField("textfieldwidget1", "validation_type", {minValue:value, maxValue:value});
</script>

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/ja_JP/Spry/1.4/WS271E9F2D-F882-4562-B01C-1C19E7986BEB.html