[jQuery] First Attempt
[jQuery] First Attempt
Hello,
When I click on the either button, the size changes correctly, but
goes right back to the default.
What am I doing wrong?
$(document).ready(function() {
$('#small').click( function() {
$("#textsize").addClass("smalltext")
});
$('#large').click( function() {
$("#textsize").addClass("largetext")
});
});
Thanks