Jquery will not work in notepad++
-
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>
-
@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 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.
-
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.
-
@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. -
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.
-
@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.