[jquery-ui] wanted: getElementByClass()

2010-07-19 Thread Europus
I know that this function doesn't exist in the DOM. Yet. It doesn't currently appear to exist in jQuery either, I couldn't find anything searching the documentation online. I'm looking for a home-rolled custom function that is jQuery compatible, so I can add some behaviors to it. Does anyone

[jquery-ui] Re: wanted: getElementByClass()

2010-07-19 Thread Roman
In jQuery you're supposed to use the CSS way to locate elements. So, in your case you'd use this: $(.yourclassname) to get a list of elements with the specified class. You should use a web search engine to find answers to your questions about the events. That's basic stuff and is not related to

Re: [jquery-ui] Highlighting of special days in datepicker

2010-07-19 Thread anusha999
Hi, I am trying to highlight certain days with events on the calendarI have to get the days from Model. My code is as follows: script type=text/javascript var datesArray = new Array(); for (var item in Model) { datesArray[datesArray.length] = %= item.PerformanceDate.Day %; }

RE: [jquery-ui] Highlighting of special days in datepicker

2010-07-19 Thread H G Laughland
Is this the entire javascript? If so Model is not being created anywhere. That is why it can't be found. -Original Message- From: jquery-ui@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of anusha999 Sent: Tuesday, 20 July 2010 10:32 a.m. To: jquery-ui@googlegroups.com