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 aura9k1
#816047
Good day,

I am trying to implement a Live search feature using a text input. As the user types in the text input, the list should filter based on the text typed into the text input.
Whenever I try to implement this outside of Processmaker, it works just fine, however when I do it in Processmaker, it only updates when the text input field loses focus. I have tried using
Code: Select all
$('#txtSearch').bind('input', function() {});
$('#txtSearch').on('input', function() {});
$('#txtSearch').keyup(function() {});
$('#txtSearch').setOnchange(function(a,b) {});
However all of these render the same result in Processmaker. Any ideas how I can get around this?
User avatar
By amosbatto
#816059
Try using the input field, instead of the div:
$('#form\\[txtSearch\\]').keypress(function(){})
Disable grid using JavaScript

Hi, I tried to disable the grid with JavaScript. […]

Useful.. https://crbtech.in/online-dot-net-trainin[…]

I used your example as a base to fixup my flow and[…]

There is a third parameter in the sendMessage() fu[…]