HTML5 Data Bindings Support Product Page

Refresh search results list in real time?

Asked 24 Jan 2014 16:10:46
1
has this question
24 Jan 2014 16:10:46 Brad Lawryk posted:
I have a search box that I would like the search results updated as the user types. Is that possible?

It works with onChange set to the form field but for some reason on keyup, keydown or key press it doesn't work.

Use case the 'Quick Search' at www.scriptclub.ca I am trying to get the results to list underneath the search box as the user types.

Replies

Replied 24 Jan 2014 16:43:56
24 Jan 2014 16:43:56 Teodor Kuduschiev replied:
Hello Brad,
This is possible using some hand coding Please remove the current onchange behavior and add this code before the closing body tag.

$('#quickSearch').on('keyup', function() { $.dmxDataBindings.globalScope.update('$FORM'); });

Reply to this topic