Created
March 14, 2012 22:54
-
-
Save kenichi/2040219 to your computer and use it in GitHub Desktop.
dondonp problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
console.log($('#new_patent')); | |
$('#new_patent').css('background','blue'); | |
}); | |
</script> | |
<style type="text/css"> | |
#new_patent { | |
height: 400px; | |
width: 400px; | |
background: red; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="new_patent"> | |
foooooooo | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment