Change sjquery on select2
This commit is contained in:
parent
d42d910c08
commit
6564333e55
@ -214,7 +214,7 @@ jQuery(document).ready(function() {
|
|||||||
|
|
||||||
//change unit selected if we change service selected
|
//change unit selected if we change service selected
|
||||||
<?php if($filtertype == 1) { ?>
|
<?php if($filtertype == 1) { ?>
|
||||||
$('#idprod:nth-child(2)').change(function(){
|
$('#idprodservice').change(function(){
|
||||||
var idproduct = $(this).val();
|
var idproduct = $(this).val();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url : "<?php echo dol_buildpath('/bom/ajax/ajax.php',1); ?>"
|
url : "<?php echo dol_buildpath('/bom/ajax/ajax.php',1); ?>"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user