[jQuery] AUTOCOMPLETE

2009-07-14 Thread chinnakarup...@gmail.com
Hi, I wanted a dropdown as soon as I place my cursor in the input box (local values). I tried putting minChars as 0. It didn't seem to have much effect. I made the following change in the autocomplete code .click(function() { // show select when clicking in a focused field

[jQuery] Re: problem with :contains in 'td'

2008-12-20 Thread chinnakarup...@gmail.com
Or rather the question should be can the :contains selector have a context for its search..and if I make the 'this' to be it will it work. On Dec 20, 1:43 pm, "chinnakarup...@gmail.com" wrote: > Hi, > I am trying to match the content in 'td' and

[jQuery] Re: problem with :contains in 'td'

2008-12-20 Thread chinnakarup...@gmail.com
Also I am not sure what is being passed in the filter .I assume it to be the TD element right now can somebody correct me or tell me what is happening.I want the 'History' cells to be red THnks On Dec 20, 1:43 pm, "chinnakarup...@gmail.com" wrote: > Hi, >

[jQuery] Simple XPATH Selector

2008-12-20 Thread chinnakarup...@gmail.com
Hi, I am trying XPATH selector with jqueryit doesn't seem to work..find below the eg.it should select the paragraph. can any tell me what I am missing. THnks http://www.w3.org/TR/html4/loose.dtd";> http://www.w3.org/1999/xhtml";> New Web Project

[jQuery] :not selector ---> not working

2008-12-20 Thread chinnakarup...@gmail.com
Hi, I tried a eg for :not operator.According to which it should not pick up the Table header but it does .what am i missing. One more question what is the significance of putting the 'th' in the square bracket .is it OK to write like this. $('tr:not(th):even').addClass('even'); THnks http