Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2014
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. (function (){
  2. $("#buttonChanger").click(function () {
  3. var classname = "." + $('#className').val();
  4. var color = $('#color').val();
  5. $(classname).css('background', color);
  6. })
  7. }())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement