jQuery, write less do more ?

FarligOpptreden

Executive Member
Joined
Mar 5, 2007
Messages
5,396
JavaScript != Java! Remember that! The closest it might be is "scripted sex". Somehow its sounds too Hollywoody though... :p
 

hyperian

Expert Member
Joined
Apr 17, 2008
Messages
1,958
JQuery is awesome. Its difficult to list all of its features, but what I have found useful are the JQuery plugings that you can use. I've been using the UI plugin which gives you lots of user-interface-like effects for animation etc. Definitely recommend it.
 

guest2013-1

guest
Joined
Aug 22, 2003
Messages
19,800
yea, if I could marry jQuery and have babies with it I probably would. Been messing around with it over the last week or so and definately worth my time ;)
 

Necuno

Court Jester
Joined
Sep 27, 2005
Messages
58,567
lol stupid Q, but how do i get jquery inside a page's source ?, looks like its not just slap the js into the project and referencing it with <script> i must be missing another step somewhere that i should have read about :D

..don't see them JQuery.<something here things>


:confused:

well testing this in new project with the two files in Scripts, vs2008 still don't see the things its suppose to see somehow.
Code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>

    <script src="Scripts/jquery-1.3.2.js" type="text/javascript"></script>
    
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
    </form>
</body>
</html>
 
Last edited:

James

Expert Member
Joined
May 26, 2004
Messages
2,617
Not really used too much jQuery because our company uses YUI which is also the bomb. If you don't like jQuery or you are open to suggestion, give YUI a try.
 

Necuno

Court Jester
Joined
Sep 27, 2005
Messages
58,567
seems to be fixed now after going through these steps
Getting jQuery Intellisense Up & Running

1. Ensure that VS2008 SP1 is installed. (Further info)
2. Ensure that Hotfix KB958502 is installed. (Further info)
3. Install the jQuery library into your project. It'll have a filename like "jquery-1.3.2.js".
4. Install the jQuery Intellisense file into your project. It may very well have a filename like "jquery-1.3.2-vsdoc2.js" but must be renamed to be identical to the jQuery library name, plus "-vsdoc". Thus in this example, it must be renamed to "jquery-1.3.2-vsdoc.js".
5. Provide a reference to the jQuery library. There are generally two ways to do this, both of which are described below.
6. In external Javascript files a direct reference to the jQuery Intellisense file must be made. More details are provided below.


Hotfix KB958502 seems to have done the add me and be able to use it...
 

Necuno

Court Jester
Joined
Sep 27, 2005
Messages
58,567
I code my stuff with notepad... so there's hardly a problem. I'm sure someone that uses .net and jquery would appreciate the contribution :)

well i suppose that IDE's can seem frightening and complex at times, but its not so bad vs the simpleton notepad view ;)
 

guest2013-1

guest
Joined
Aug 22, 2003
Messages
19,800
well i suppose that IDE's can seem frightening and complex at times, but its not so bad vs the simpleton notepad view ;)

Yea yea dude, I'm so hardcore I have my firefox set to view source code instead of the normal site. Adblocker extreme...
 

Necuno

Court Jester
Joined
Sep 27, 2005
Messages
58,567
Yea yea dude, I'm so hardcore I have my firefox set to view source code instead of the normal site. Adblocker extreme...

well firebug has its uses in FF, though there is bloated ie8 and its f12 set.
 
Top