reset your prefill without reloading the page.

shogo2040's Avatar

shogo2040

10 Aug, 2012 01:10 AM

I need to reset the prefill without reloading the page. I tried that by calling autoSuggest on the same element with all the same params and options except for the preFill option. The preFill option has a new value, but the results of calling autoSuggest the 2nd time for the same element with a new preFill value causes the textfield to just be blank.

Please advise .

  1. 1 Posted by Jon on 10 Aug, 2012 06:17 AM

    Jon's Avatar

    Hi,
    take a look a these threads:

    Reset

    Add Item

    I've attached the js I'm using.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac