diff --git a/guides/source/working_with_javascript_in_rails.md b/guides/source/working_with_javascript_in_rails.md index 8dbd97c701..dd7cd7335e 100644 --- a/guides/source/working_with_javascript_in_rails.md +++ b/guides/source/working_with_javascript_in_rails.md @@ -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