Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I stop items to add after clicking on item in dropdown list #32

Open
vikas-github opened this issue Jul 6, 2013 · 0 comments
Open

Comments

@vikas-github
Copy link

I want to create search user input, where I am using this plugin, just like that of facebook or twitter which shows you list of users as you start typing. when you click on any of the list items, their profile is viewed, I want to achieve the same thing, I am using this option to get the value of the item that is clicked and change the location of browser to user profile
resultClick: function(data){ $data = data.attributes; window.location="/"+$data; }

but the problem is when I click on dropdown item, we can see the item getting added before the page loads to the user profile...

Is there any way by which I can stop adding item after clicking on dropdown item list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant