class-selector

can i have dynamic date pickers using jquery by class selector

i have a dynamic html table and in one column i want a jquery ui date picker. A few questions: Can i have datepicker by class instead of id: $(document).ready(function(){ $(".datepicker").datepicker(); }); Can i create them on the fly if i i am adding in textboxes with this class using jquery? ...

how do I select a div with class "A" but NOT with class "B"?

I have some divs: <div class="A">"Target"</div> <div class="A B">"NotMyTarget"</div> <div class="A C">"NotMyTarget"</div> <div class="A D">"NotMyTarget"</div> <div class="A E">"NotMyTarget"</div> Is there a CSS selector that will get me the div containing Target but not the divs containing NotMyTarget? Solution must work on IE7, IE8,...

jQuery: Can't find a tag under only the current class selector.

I have this: HTML: <p class="Link"><a href="...">Test1</a></p> <p class="Link"><a href="...">Test2</a></p> <p class="Link"><a href="...">Test3</a></p> jQuery $(document).ready(function() { $('.Link').hover(function() { $('.Link a').css('color', 'black'); }, function() { $('.Link a').css('color', 'white'); ...