Questions and discussion about using ProcessMaker: user interface, running cases & functionality
By jackyjoy123
#828670
Hello,

I'm using a dropdown which load the informacion from a DB, this works just fine. With JS i'm showing the value of this dropdown but always show me the same value no matter which option i select.

This is the JS:
CODE: SELECT ALL
$(document).ready(function() {

$("#DRP_TIPO_FACTURACION").getControl().change( function() {
alert($("#DRP_TIPO_FACTURACION").getValue());
return false;
if$("#DRP_TIPO_FACTURACION").getValue() != 0 && $("#TXT_EMPRESA").getValue() != ''){
var q = $("#DRP_TIPO_FACTURACION").getValue()+'*-*'+$("#TXT_EMPRESA").getValue();
$.ajax({url: "/buscarServicios.php?q="+q, success: function(result){
alert(result);
}});
}
});
});

thanks
jackyjoy
By jackyjoy123
#828695
jackyjoy123 wrote: Fri Nov 20, 2020 9:24 am Hello,

I'm using a dropdown which load the informacion from a DB, this works just fine. With JS i'm showing the value of this dropdown but always show me the same value no matter which option i select.

This is the JS:
CODE: SELECT ALL
$(document).ready(function() {
https://krogerfeedback.nl https://talktosonic.onl https://talktowendys.vip https://whataburgersurvey.onl

$("#DRP_TIPO_FACTURACION").getControl().change( function() {
alert($("#DRP_TIPO_FACTURACION").getValue());
return false;
if$("#DRP_TIPO_FACTURACION").getValue() != 0 && $("#TXT_EMPRESA").getValue() != ''){
var q = $("#DRP_TIPO_FACTURACION").getValue()+'*-*'+$("#TXT_EMPRESA").getValue();
$.ajax({url: "/buscarServicios.php?q="+q, success: function(result){
alert(result);
}});
}
});
});

thanks
jackyjoy

thanks my issue has been fixed.

A 1xbet clone script is a pre-designed software so[…]

4rabet clone script is enabling entrepreneurs to e[…]

Parimatch clone script is enabling entrepreneurs t[…]

In the world of cryptocurrency, a wallet is an app[…]