On Dec 7, 12:36 pm, "evanbu...@gmail.com" wrote:
> I like to use the addClass method rather than embed CSS in my js
> code. I find it easier to maintain.
>
> $('td').addClass('myCSSClass');
>
> $('td').removeClass('myCSSClass');
Hi Evan,
I'd prefer that approach too. But the problem is this css
Hi all,
What is the cleanest approach to remove a css attribute from the DOM element?
Currently I have a DOM element which has css background color as such:
This is currently what I do:
$('td').css('background-color','').append(replacement);
But I'm not sure that is the good approach. Or is it
Thanks James!
I still wonder why it doesn't work on IE7 though.
Cheers,
On Apr 21, 11:55 am, James wrote:
> You should do:
>
> $(".input").change(onInputChange);
> or:
> $(".input").bind("change", onInputChange);
>
> On Apr 20, 3:49 pm,
Dear all,
I'm trying to set event handler attributes when the DOM is ready, but
it doesn't work on IE7.
The snippets are as such:
var onInputChange = function (){
alert("Hey I'm changed");
}
$(function() {
$(".input").attr("onchange", "onInpu
Hi all,
Let's say I sent an ajax request with mootools, does jquery global
ajax event listener listens to it too? Or does it only listens to ajax
request that is sent by jQuery? Because I have a page that has ajax
request by other framework and it seems that jQuery is listening to it
too. But per
5 matches
Mail list logo