JQuery first time use. Need some advice/help

+4 Joe Hooper · November 22, 2014
Hi Everyone

I am new to Jquery and trying to get it to work inside notepad++

Here is my code:


<!DOCTYPE html>
<meta charset="UTF-8">

<head>

<title>jquery test </title>

<script type="text/javascript" scr="js/jquery.js"></script>

I have downloaded jquery from the site and placed inside a js folder and named it jquery.js. It still does not work.

Thanks for the help in advance.

Regards,

Joe

Post a Reply

Replies

Oldest  Newest  Rating
+1 Joe Hooper · November 22, 2014
thank you!
+1 Joe Hooper · November 22, 2014
I am having trouble calling the external jquery page. I did an inline on from the tutorial here on the site and it worked. My external code looks like this 


$('#paragraph').click(function() {
$('#paragraph').hide;
});

And i call it in to the index.html using this code 


<script type="text/javascript" src="js/test.js"></script>

I am not sure if i need some special setting in notepad++ or not. 

Thanks,

Joe
  • 1

Javascript

106,975 followers
About

A scripting language that is added to standard HTML to create interactive effects, apps, games for the browser.

Links
Moderators