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?
...
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,...
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');
...