• Login
Community
  • Login

Jquery will not work in notepad++

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
jqueryenable
7 Posts 3 Posters 591 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    Spencer Halstead
    last edited by Sep 15, 2021, 11:13 AM

    Hi, I am trying to get jquery code to work in notepad++.
    Have I called it properly and put it in the correct place.
    The actual jquery code is in a seperate file, along with my css.
    Here is my html page calling jquery:
    <!DOCTYPE html>
    <html lange=“en”>
    <head>
    <meta charset=“UTF-8”>

    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    
    <link rel="stylesheet" href="./style.css" />
    <link rel="text/javascript' src='./animatetext.js"/></script>
    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
    
    
     <title>Animated text animation</title>
    

    </head>
    <body>
    <ul id=“sti-menu” class=“sti-menu”>
    <li data-hovercolor=“#37c5e9”>
    <a href=“#”>
    <h2 data-type=“mText” class=“sti-item”>
    Some text
    </h2>
    <h3 data-type=“sText” class=“sti-item”>
    Some more text
    </h3>
    <span data-type=“icon” class=“sti-icon sti-icon-care sti-item”>
    </span>
    </a>
    </li>
    <li>…</li>
    …
    </ul>

    </body>
    </html>
    
    A M 2 Replies Last reply Sep 15, 2021, 12:14 PM Reply Quote 0
    • A
      Alan Kilborn @Spencer Halstead
      last edited by Sep 15, 2021, 12:14 PM

      @Spencer-Halstead said in Jquery will not work in notepad++:

      I am trying to get jquery code to work in notepad++

      Does your code work outside of Notepad++?
      Actually, not quite sure what you mean by in Notepad++…
      Can you say a bit more about that?

      S 1 Reply Last reply Sep 15, 2021, 2:38 PM Reply Quote 0
      • M
        Michael Vincent @Spencer Halstead
        last edited by Sep 15, 2021, 12:30 PM

        @Spencer-Halstead said in Jquery will not work in notepad++:

        Hi, I am trying to get jquery code to work in notepad++.

        Notepad++ is a text editor, not an HTML render engine or a Web development IDE. You can write code in it, but to “run” the code, you’ll need an external web server (e.g., Apache, NGINX) to run the Javascript elements and you’ll need a browser (e.g., Chrome, Firefox) to view the results.

        Cheers.

        S 1 Reply Last reply Sep 15, 2021, 2:41 PM Reply Quote 3
        • S
          Spencer Halstead @Alan Kilborn
          last edited by Sep 15, 2021, 2:38 PM

          @Alan-Kilborn

          When I click on view then view in chrome, the output and result usually shows with javascript, but now when I use jquery, nothing shows.

          1 Reply Last reply Reply Quote 0
          • S
            Spencer Halstead @Michael Vincent
            last edited by Sep 15, 2021, 2:41 PM

            @Michael-Vincent
            Oh, I am a bit confused, because usually it shows the result when I view it in chrome. I got a clock to work. But, now do you mean that with jquery, nothing will run.

            A M 2 Replies Last reply Sep 15, 2021, 2:47 PM Reply Quote 0
            • A
              Alan Kilborn @Spencer Halstead
              last edited by Sep 15, 2021, 2:47 PM

              @Spencer-Halstead

              So this forum is a place to discuss Notepad++ and its features, bugs, quirks, etc.

              I don’t think your questions are falling within that realm.

              So I think there are probably better (other) forums in which to ask your questions and get answers.

              1 Reply Last reply Reply Quote 0
              • M
                Michael Vincent @Spencer Halstead
                last edited by Sep 15, 2021, 3:14 PM

                @Spencer-Halstead said in Jquery will not work in notepad++:

                Oh, I am a bit confused, because usually it shows the result when I view it in chrome. I got a clock to

                As @Alan-Kilborn says, this is not really a Notepad++ question. Did you try Google ?

                Cheers.

                1 Reply Last reply Reply Quote 0
                3 out of 7
                • First post
                  3/7
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors