I am trying to let a button shrink another element with jQuery. So far I came up with:
$( "#img1" ).click(function() {
$("#img2").css("-moz-transform:scale", "0.7, 0.7");
});
But this doesn't seem to work. I am currently only worried about serving FireFox. I don't understand why my click function isn't working. I thought I defined everything correctly, I hope you can help out.
alert("hello");inside the .click function to make sure that code is even being called? Are there any errors in the console?.css()in jQuery 1.8+