Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Jquery will not work in notepad++

    Help wanted · · · – – – · · ·
    jquery notepad++ enable
    3
    7
    151
    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.
    • Spencer Halstead
      Spencer Halstead last edited by

      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>
      
      Alan Kilborn Michael Vincent 2 Replies Last reply Reply Quote 0
      • Alan Kilborn
        Alan Kilborn @Spencer Halstead last edited by

        @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?

        Spencer Halstead 1 Reply Last reply Reply Quote 0
        • Michael Vincent
          Michael Vincent @Spencer Halstead last edited by

          @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.

          Spencer Halstead 1 Reply Last reply Reply Quote 3
          • Spencer Halstead
            Spencer Halstead @Alan Kilborn last edited by

            @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
            • Spencer Halstead
              Spencer Halstead @Michael Vincent last edited by

              @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.

              Alan Kilborn Michael Vincent 2 Replies Last reply Reply Quote 0
              • Alan Kilborn
                Alan Kilborn @Spencer Halstead last edited by

                @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
                • Michael Vincent
                  Michael Vincent @Spencer Halstead last edited by

                  @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
                  • First post
                    Last post
                  Copyright © 2014 NodeBB Forums | Contributors