From 94b14f35a5afe6fbdd7ffd66a710a23c0192011c Mon Sep 17 00:00:00 2001 From: alexweissman Date: Mon, 11 Sep 2017 17:54:22 -0400 Subject: [PATCH] clarify some basic JS and jQuery concepts --- .../01.getting-started/02.basic-usage/docs.md | 23 ++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/pages/01.getting-started/02.basic-usage/docs.md b/pages/01.getting-started/02.basic-usage/docs.md index d0aef025..0eea33c1 100644 --- a/pages/01.getting-started/02.basic-usage/docs.md +++ b/pages/01.getting-started/02.basic-usage/docs.md @@ -31,16 +31,21 @@ and turn it into this... Select2 will register itself as a jQuery function if you use any of the distribution builds, so you can call `.select2()` on any jQuery selector where you would like to initialize Select2. ``` -$('.js-example-basic-single').select2(); +// In your Javascript (external .js resource or +**In your HTML:** +``` ``` +**In your Javascript (external `.js` resource or `