Permalink
Browse files

README.md - HTML ids should not include the # sign.

  • Loading branch information...
1 parent 0082e3f commit 1810921622aa2d412213a2ea465cbcaac11378f8 @Ricket Ricket committed May 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -88,7 +88,7 @@ person = {
o_O.bind(person, '#person');
```
```html
-<div id="#person">
+<div id="person">
<div data-bind="text: fullName()"></div>
<div data-bind="text: age()"></div>
</div>
@@ -157,7 +157,7 @@ cast.push(new Character({name: 'Mr. Burns', age: 99}));
The special `foreach` binding will render this list:
```html
-<ul id="#cast" data-bind='foreach: cast'>
+<ul id="cast" data-bind='foreach: cast'>
<li data-bind="text: fullName() +',' + age()" ></li>
</ul>

0 comments on commit 1810921

Please sign in to comment.