mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +01:00
17 lines
389 B
Smarty
17 lines
389 B
Smarty
|
<script type="text/javascript">
|
||
|
function Getgewicht(waagenr)
|
||
|
{
|
||
|
$.ajax({
|
||
|
url: 'index.php?module=ajax&action=getgewicht',
|
||
|
type: 'POST',
|
||
|
dataType: 'json',
|
||
|
data: { seriennummer: '[SERIENNUMMER]', mindestgewicht:[MINDESTGEWICHT]},
|
||
|
success: function(data) {
|
||
|
if(typeof data.gewicht != 'undefined')
|
||
|
$('#kg'+waagenr).val(data.gewicht);
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
</script>
|
||
|
|