Software: Apache/2.4.18 (Ubuntu). PHP/7.0.33-0ubuntu0.16.04.16 uname -a: Linux digifus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/almazen2/assets/grocery_crud/js/jquery_plugins/config/ drwxr-xr-x | |
| Viewing file: Select action/file-type: $(function(){
$('.numeric').numeric();
$('.numeric').keydown(function(e){
if(e.keyCode == 38)
{
if(IsNumeric($(this).val()))
{
var new_number = parseInt($(this).val()) + 1;
$(this).val(new_number);
}else if($(this).val().length == 0)
{
var new_number = 1;
$(this).val(new_number);
}
}
else if(e.keyCode == 40)
{
if(IsNumeric($(this).val()))
{
var new_number = parseInt($(this).val()) - 1;
$(this).val(new_number);
}else if($(this).val().length == 0)
{
var new_number = -1;
$(this).val(new_number);
}
}
});
});
function IsNumeric(input)
{
return (input - 0) == input && input.length > 0;
}
|
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0042 ]-- |