[jQuery] Re: datepicker and setdate

2009-01-14 Thread graphic...@googlemail.com
;, "10 Mar 2008"); > > > but that gives me non-sense date as mentioned in my first post. Any > > idea ? > > > On 14 jan, 14:31, MorningZ wrote: > > > > Well, that second selector is wrong to start with... shouldn't it be $ > > > (

[jQuery] Re: datepicker and setdate

2009-01-14 Thread graphic...@googlemail.com
d selector is wrong to start with... shouldn't it be $ > ("#start") and not $(start) ? > > On Jan 14, 9:24 am, "graphic...@googlemail.com" > > wrote: > > Hi, > > > This setDate is driving me mad !  I can't set the date of the control

[jQuery] datepicker and setdate

2009-01-14 Thread graphic...@googlemail.com
Hi, This setDate is driving me mad ! I can't set the date of the controls programatically. //create range datepickers $("#start , #end").datepicker({ showOn: "button", buttonImage: "images/calendar.gif", buttonImageOnly: true, beforeShow: customRange, hideIfNoPrevNext: t

[jQuery] Re: jQuery nodes traversing

2008-12-20 Thread graphic...@googlemail.com
arent().children().index(this); //should give you the > indexes you want (p==2,div==0) > > }); > > Hope you get the idea. Check the documentation (docs.jquery.com/ > Selectors, docs.jquery.com/Traversing) in case of doubt :) > > - ricardo > > On Dec 19, 2:13

[jQuery] jQuery nodes traversing

2008-12-19 Thread graphic...@googlemail.com
Hi, Consider the following html : target node Starting from the h2 node, I want to find its closest parent with an id, in this case the div with id="main". I also want to store the index position of all of the parents of the target. In this case t

[jQuery] Re: .html() and ampersand

2008-12-19 Thread graphic...@googlemail.com
Thanks you. I should have seen this method On 18 déc, 23:34, real wrote: > use .text() if you're looking to return a string of text only rather > than html. And by value of a label, you do mean what goes in > here right? > > On Dec 18, 5:41 pm, "graphic...@googlemai

[jQuery] .html() and ampersand

2008-12-18 Thread graphic...@googlemail.com
Hi, I use the .html() function to get the value of a label, but when it contains an ampersand (&) it is converted to & amp ; How can I prevent that or is there another way of getting the value of the label ? Thanks