Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Using a dialog for an ajax search list does not work #46

Open
andybotting opened this issue Mar 6, 2012 · 1 comment
Open

Using a dialog for an ajax search list does not work #46

andybotting opened this issue Mar 6, 2012 · 1 comment

Comments

@andybotting
Copy link

This might be an invalid issue, but I'm trying to basically create a dynamic list which can be updated via a search field.

I've got a JS fiddle here which might explain it better
http://jsfiddle.net/ubGCv/1/

I'm trying to create a dialog in which a list of items can be selected, and the result sent back to the originating page. The list will populated by an AJAX request, optionally by a search string. The look of the dialog will be basically the same as a standard JQM 'filter' demo - but encapsulated in a dialog.

What I am finding is that the list is not being update by the AJAX functions. I am using the 'inline' method of creating the dialog - and I can see everything working if the inline div display is visible on the origin page. I have a keyup and change events bound, which seem to trigger, but after the AJAX call, the ul does not receive the new li entries as it should.

Not sure if this is the intended behaviour or not.

@jtsage
Copy link
Owner

jtsage commented Jun 11, 2012

It is not - any chance you can set up a test page somewhere? jsFiddle does not always play well with the chrome console.

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

No branches or pull requests

2 participants