Re: [Proto-Scripty] Assistance with clicks

2010-01-07 Thread bill
Walter Lee Davis wrote: I just did something very similar (also a calendar) and what I came up with was this: I had a single overlay DIV hidden at the top of the page, and after a click on an empty cell, I would load the overlay with the Create Appointment screen, use Element.clonePosition()

[Proto-Scripty] Re: Finding the first form item of any type within a div

2010-01-07 Thread ColinFine
On Jan 6, 8:55 am, Alex McAuley webmas...@thecarmarketplace.com wrote: $('mydiv').select('input','select')[0]; The OP has already said that that doesn't work, as he says it will return the first input even if there is a select before that. Do you disagree? -- You received this message

[Proto-Scripty] Re: Finding the first form item of any type within a div

2010-01-07 Thread webbear1000
It's a clumsy solution but will save a lot of weird looping but why not give all the form elements a class name and use that in the selector? On Jan 5, 3:17 pm, Tony Andrews tony.andrew...@googlemail.com wrote: I have already posted a question about this on StackOverflow here

[Proto-Scripty] Re: Finding the first form item of any type within a div

2010-01-07 Thread kangax
On Jan 5, 10:17 am, Tony Andrews tony.andrew...@googlemail.com wrote: I have already posted a question about this on StackOverflow here (http://stackoverflow.com/questions/2006432/finding-the-first- focusable-item-of-any-type-within-a-div) so I won't repeat the whole thing.  My issue is that I