Skip to content

Instantly share code, notes, and snippets.

@kenichi
Created March 14, 2012 22:54
Show Gist options
  • Save kenichi/2040219 to your computer and use it in GitHub Desktop.
Save kenichi/2040219 to your computer and use it in GitHub Desktop.
dondonp problem
<!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