Skip to content
This repository has been archived by the owner on Apr 1, 2022. It is now read-only.

Use $ #11

Open
vittore opened this issue Jan 22, 2019 · 0 comments
Open

Use $ #11

vittore opened this issue Jan 22, 2019 · 0 comments

Comments

@vittore
Copy link

vittore commented Jan 22, 2019

How can I use normal jquery like?

{% block javascripts %}
    <script src="{{ asset('assets/app.js') }}"></script>
    <script>
        alert($('#test').val());
    </script>
{% endblock %}

Now I got:

Uncaught ReferenceError: $ is not defined
    at window.addEventListener
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant