javascript-library

Stand-alone animate function (like Jquery)

Hi all, I am currently using JQuery to perform a single task: animation of width on a div. I really hate to be loading in the entire JQuery library for this single task and was wondering if anyone knew how to do a standalone function like: div.animate('56'); Where 56 is the percentage of the width I'd like the div to animate to. If...

Is there a change-tracking framework for JavaScript?

ASP.NET AJAX 4 recently added the ability to track changes to ADO.NET Data Services objects on the client side. That got me wondering what other change tracking JavaScript libraries exist. Has anyone seen any, or are you using any? EDIT: Just to clarify what I mean by "change tracking": the new version of ASP.NET AJAX allows you to re...

Should I pull jquery libraries from my own site or from third party codebase?

What are the pros and cons? ...

Support for Raphael Javascript library in Netbeans

According to this blog post, Netbeans's supposed to support Javascript type inference. And Javascript support should be built-in to the Netbeans editor. However when I add an HTML file to a simple Java project, and include the Raphael javascript library using <script src="..."/> it seems that Netbeans does not recognize the library. Even...

how to retrieve an href value from the link that opened a dialogue box Jquery UI

Hello , I have just started learning Jquery and am new to writing javascript (I am too old to write noob it feels wrong). Scenario: I have a hyperlink that opens a dialogue box and sets a cookie. The dialogue box is asking something like "would you like to visit this page are you sure? " it has Yes/No buttons on it. If the user clicks...

Standard way to include javascript library from javascript.

I'd like to pull in the jquery library from my javscript include. Does this work 100% of the time? Is there a better way? (function() { var loadJquery = function (cb) { var addLibs = function () { if (typeof(document.body) == "undefined" || document.body === null) { setTimeout(addLibs, 100); return;...

JavaScript libraries along with Visual Studio

Apart from jQuery, which other JavaScript libraries support Visual Studio2005/2008 intellisense integration? ...

jQuery lambda functions

jQuery uses lambda functions extensively wherever a function is to be passed into another function. But Visual Studio 2008 would not honor break points that are set inside a JavaScript lambda function. Anybody knows any workaround for this other than giving an explicit name for the function and passing this to the jQuery functions? ...

Visual effects in Javascript.

I am looking for a book, tutorial or something like where I can learn to Create visual effects like Scriptaculous for example http://wiki.github.com/madrobby/scriptaculous/effect-fold Thanks in advance. ...

Use Custom Validator at client side ? Shown ErrorMessage when script is wrong?

I have one problematic question on custom validator at client side in asp.net? This is my fileupload control and customvalidator to check that uploaded file is doc or not!!!! <asp:FileUpload Id="fu_1" runat="server" /> asp:CustomValidator ID="cv_fu1" runat="server" ControlToValidate="fu_1" ValidationGroup="submit" ClientValidationFunct...

Are Mootools and Google Closure Librarys Compatible?

Anyone have any experience of using Closure js lib and Mootools in the same page? Conflicts or works ok? ...

How to check if mootools.js is actually being used within a web site?

I inherited a web site project that includes mootools.js (about 40k) in most of the scripts. However, I have not seen, intuitively, where it is being used and given the nature of this porject, ahem, I'm thinking it might not be being used at all! I'm "under the gun" to ship this tonight (yup, it's a pre-Thanksgiving release). I have not...

What is the difference between the clearing and reseting a web form?

I want to reset the value of a web page using JavaScript reset function. Which operation is the JavaScript performing first: the reset or a clear? And what is the difference in between the two? Also, how can I retrieve a value using reset function? ...

Mootools script not working in Camino/Firefox

Hi there. I currently have script that slides down a once the page has loaded. So far, it works in Safari, Opera and IE8, however it doesn't work in Camino nor Firefox, so I am guessing it's a Mozilla based problem with my code? Here is my full file: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtm...

Which Javscript library would you suggest in asp.net?

Hai Guys, I am developing an asp.net web application and now i want to use some charts for my application ... I know there many javascript libraries like jquery,YUI and so on... What would be best suited for asp.net? ...

Fix for google-code-prettify w/ c#

Prettify gives types and methods the same class when tokenizing c# so they are colored the same. This is because methods are pascal case in c# instead of camel case like in java. This affects my blog and all stackoverflow c# code since they use prettify too. Does anyone have a fix for this? If not, you can at least star/vote the offi...

Is there a library which implements new Javascript/Ecmascript 5 methods for older versions?

Although Ecmascript 5 introduces some completely new features, it also adds some new methods (bind, trim, map, etc.) which should be perfectly possible to implement (albeit slower) in current versions. Does a library exist which implements these backwards compatible features (and no more, excluding Prototype et. al.) ...

Degradation of skills as a result of JavaScript libraries

I'm struggling with the value of knowledge between JavaScript base functionality and JavaScript libraries. While I understand the underlying concepts used by many of today's popular libraries (JQuery as an example: $.ajax, $.animate, etc), I find that the more I rely upon these libraries, the less and less I actually know about JavaScri...

jQuery - each function

Hi there I currently have a list of thumbnails that is located in a ul tag as li's. I am using the Galleria image gallery, but I have more than six images in my gallery, so am I trying to implement a page system. What I am trying to do is the following: I have a row of images, row1, when you click on page 2 row1 should hide using thi...

Selecting an entry in a grid view table using java/javascript

Hi all, I am automating a an application written in C#. i dont have its code. in application there is a grid view table containing list of templates. i want to select a particular template by its name and not its row index. for example: consider the grid view table consisting list of months. Now i want to select "May" month in the li...