Avoid implying that `#results` selector will only match a `div` element
The sample code above this sentence uses the selector `#results` which will match any element with the `id` attribute of `results`, but the sentence was previously implying that it had to be specifically a `div` element.
This commit is contained in:
parent
8dca5162f9
commit
edbb09e14e
|
@ -48,7 +48,7 @@ fetch("/test")
|
|||
});
|
||||
```
|
||||
|
||||
This code fetches data from "/test", and then appends the result to the `div`
|
||||
This code fetches data from "/test", and then appends the result to the element
|
||||
with an id of `results`.
|
||||
|
||||
Rails provides quite a bit of built-in support for building web pages with this
|
||||
|
|
Loading…
Reference in New Issue