force the value for debug to a number
This commit is contained in:
parent
20b54da5e4
commit
56897ceded
2 changed files with 4 additions and 1 deletions
|
@ -6829,6 +6829,9 @@ $.fn.getval = function(){
|
|||
case 'span':
|
||||
val = $(this).html();
|
||||
break;
|
||||
case 'debug':
|
||||
val = Number($(this).val());
|
||||
break;
|
||||
case 'checkbox':
|
||||
val = $(this).prop('checked');
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue