Hello,
I need to simulate a look ahead function in search. Let’s say I have 4 account numbers:
- 1234567
- 1236784
- 1267398
- 1873495
I need them all to show when the user presses 1 in the text box. I also need them all to be clickable as a link to another slide.
When the user enters the 2 following the 1, only the top three show (and again are clickable) entering the 3 has only the top two showing and so on.
I could simulate this with a ridiculous number of slides and a massive kluge but what I want is a text entry box with javascript matching each keypress to an array that I have previously created (or pulled in from XML) and displaying just those entries still in the running as it were. Text boxes in Captivate only seem to fire off javascript on success (or failure) not with each keypress.
How do I do this?
Thanks,
Greg
I have been successful at performing actions on each keypress using the following…
$(“#entryBoxc”).on(“input”,function(){
//your actions here
});
The above code in blue is the name of your text entry box.
Do not forget the c
Hopefully this is enough to get you started.
You must be logged in to post a comment.