Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderator: ArturoRobles

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.
Total of grid in integer

Hi, Is there any better way to do it instead of c[…]

Hi All, I am using 3.5 version and everything work[…]

BPM programming permits organizations to advance t[…]

PROBLEM WITH DROPDOWN VALUE?..

Hello, I'm using a dropdown which load the info[…]