Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By fibo2358
#796091
Hello,

I have a grid inside a subform. I would like to set the onchange event handler that is called each time when a value in the grid field is changed, i.e. when a dropdown value is selected inside a grid.

In a subform I use

$("#2329784615a02bce335c442069321071").setOnchange (verifyOnchange);

function verifyOnchange() {
...
}

and it works fine in a subform, but it doesn't work when I display the master form.
Moving the code to the master form javascript doesn't solve the problem.

Could you please help?

Best Regards,
fibo2358
#796100
First of all, please file a bug report about this problem at http://bugs.processmaker.com

As a workaround, you can use standard jQuery, like this:
Code: Select all
$("#2329784615a02bce335c442069321071").change( function(e) {
   verifyOnchange(e);
})

function verifyOnchange(e) {
   alert(e.target.id + ': ' + e.target.value);
} 
Send for clarification

Cost: Will you be using PM entrerprise or open sou[…]

SMS Gateway

Hello natesh, I have a Get ready to use integrate[…]

delete information after CSV export

thanks for your attention, i have some change on y[…]

Thanx again amosbatto... I'll re-check file permis[…]