Dan, Thanks for that - I'm having trouble transferring the technique behind it though. Debugging with Firebug and putting breakpoints in _Field_transferTo() and _transferOptions() then double-clicking or using the buttons to transfer never breaks...
I've looked through the source for those functions anyway and instead of using select.selectedIndex I tried checking option.selected for each option element - I still have the same problem that the function is executed _before_ the attributes are changed in IE6. The example page that you pointed me to works fine though. I can't tell if I'm being really dim - it is only 10am after all ;-) Utterly confused as to what's being executed if Firebug isn't breaking in the mentioned functions... rob On 4/3/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
Dan, 165 references to jquerify on google! Perhaps you should submit it to wikipedia!! On 4/2/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: > > Rob, > > >Yes, this it what I was planning to do from my first email: > >>> ...when IE > >>> calls the <select>'s click handler, it does this *before* updating > >>> the .selectedIndex property, hence you cannot tell which item has been > >>> double-clicked on. > > > >>> I could use a timer to get around this problem but it's a bit of a > >>> hack; does anybody have a better idea otherwise? > > > >This is really the issue I'm working on I guess, the no click/dblclick > >event was what led me to it. > >Yes you're right it was a bad place to start off from. > > Here's an example page from a Form-base library I originally wrote back in > 1999 that shows of the exact functionality you're looking for: > > http://www.pengoworks.com/qforms/docs/examples/containers.htm > > You can dblclick just fine on an option item to move it to the next box. You > should be able to get to the selectedIndex property just fine. > > Well this example is far from jQuerified (I'm coining a new term,) it should > show you what you need. > > -Dan > > -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
-- Rob Desbois Eml: [EMAIL PROTECTED] Tel: 01452 760631 Mob: 07946 705987 "There's a whale there's a whale there's a whale fish" he cried, and the whale was in full view. ...Then ooh welcome. Ahhh. Ooh mug welcome.