Any ideas on this anyone? I suppose if there were a way to test whether an element was in either its "show" or "hide" state, then I could send this via ajax... is that possible though?
On Nov 4, 2:43 pm, Brad <[email protected]> wrote: > Hi, I'm building an application which generates a list of questions > and answers. Each question (and answer group) is surrounded by a div, > and all of the divs are sortable. When the sort order is changed, the > list is serialized and sent via .load() to a php script which updates > the question order in the mysql database, the script then returns a > refreshed question list in the new order. > > This works great, and I've decided that I'd like the answers to be > hidden by default. This is easily achieved with show() and hide() > commands. The problem is that if a user shows the answers for question > two for instance (while all others remain hidden), and then re-orders > the list, the returned question list from the php script defaults to > all hidden again - which it shouldnt - id still question 2 to be > showing. > > So basically, my question is whether it is possible to determine > whether an element is in it's show() or hide() state, and then to send > this info with a .load call? (so that when the call is returned, the > states can be loaded as they were.) > > Any ideas? Thanks in advance! > > Brad -- You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.
