diff --git a/_posts/2016-04-26-javascript-validator-for-input-number.markdown b/_posts/2016-04-26-javascript-validator-for-input-number.markdown index 0c04c16..f7c7a14 100644 --- a/_posts/2016-04-26-javascript-validator-for-input-number.markdown +++ b/_posts/2016-04-26-javascript-validator-for-input-number.markdown @@ -8,4 +8,23 @@ categories: [others] This javascript will validate/allow the number only when event key is pressed. For example result of it: - \ No newline at end of file + + +tutorial above, when you can not directly add the attribute inside html tag. +but if you can add it, you can following this bellow: + +{% highlight html %} + + +{% endhighlight %} + +hope it usefull. \ No newline at end of file