Questions tagged [javascript-framework]

A JavaScript framework is a library of pre-written JavaScript which allows for easier development of JavaScript-based applications, especially for AJAX and other web-centric technologies.

javascript-framework
Filter by
Sorted by
Tagged with
0 votes
1 answer
571 views

Problems with jQuery internals, fn.bind/fn.apply on draggables (trying to do better exception handling)

I'm been trying to wrap javascript try/catch as seen on http://pastebin.com/f579d999d It works well, it basically wrap everything in a try/catch letting you catch errors like this: $.handleErrors(...
Niklas B's user avatar
  • 1,889
2 votes
2 answers
6k views

jQuery.animate - animating really really fast

jQuery('.slide').css('opacity','1').animate({ opacity: 0 }, { duration: 9999, complete: function() { this.moveSlideAcross(); // animates a ...
chrisjlee's user avatar
  • 22.3k
0 votes
1 answer
145 views

With a single Javascript for Entire Website set on Master Page, how to exe a JS function only for one(or 2) chlid page

I am working on a .net website with only a single Javascript (so far). Because I have been told Single JS get best performance etc. firstly, any suggestions on JS frameworks , any cutting-edged ...
Dan An's user avatar
  • 424
0 votes
3 answers
5k views

Check if they have selected a file?

I'm using the jQuery plugin, "uploadify" & what I'm trying to do is hide the upload button once the upload starts, however if they click it before selecting a file it still hides it anyway. Here ...
Brett's user avatar
  • 19.8k
0 votes
2 answers
11k views

How can I validate Ext.form.DateField using min/maxValue, without using time?

I'm having the following problem: I want to validate a DateField so that it has a value between the minValue / maxValue range. (greater or equal, lower or equal) The problem is that I think the ...
Sebastián's user avatar
1 vote
1 answer
910 views

How to use Javascript keyboard events for web UI

I'm interested in using JS events such as right\left arrow, space bar etc. Wondering what's the right way to do it. I would like to slide photos, make DIVs appear etc. on such user interactions. I ...
Noam's user avatar
  • 3,371
0 votes
1 answer
189 views

Changing title in CPButton within an if/else statement (Objective-J)

I have a very simple Objective-J webapp that is a label and a button. The label text changes when the button is pressed. I want to make the title of the button change as well. If I put the change ...
Andrew Lauer Barinov's user avatar
1 vote
3 answers
89 views

Purpose of this javascript, what kind of design patten it used?

if (!window['console']) { window.console = { log: function(msg) {} } } $(window).ready(function() { Site.onReady(); }); var Site = { host: null, ...
user469652's user avatar
  • 50.1k
0 votes
2 answers
125 views

dijit.Menu to be displayed after DOM had been set up

I have set up in Javascript my preferred dijit.Menu which is that far so good. How am I able to display the dijit.Menu directly after the page starts up in the (with it's position) without any ...
SmileMZ's user avatar
  • 547
3 votes
1 answer
698 views

javascript effects queue (chain)

im building an animation framework for my work, and im stock in the Queue or chain effects part, actually i have something like this: var Fx = { animate: function(){...}, fadeIn: function(){.....
Javis Perez's user avatar
  • 4,290
6 votes
1 answer
2k views

JavaScript based iPhone UI framework

We have a push based web-application. Recently, we planned to make an iPhone app for it. Much like Facebook has it's iPhone application as well as web presence. We are looking for a UI framework that ...
Nishant's user avatar
  • 55.3k
-1 votes
2 answers
575 views

jquery,prototype,mootools altogether in magento

I have got a template which is really nice with great Ui. But they used jquery and mootools without any prob. And now i incorporate that one with magento but i have the prob with prototype. Is it ...
Elamurugan's user avatar
  • 3,204
0 votes
2 answers
2k views

extend properties in javascript

i have this code in javascript: var object = { get: function(id){ sel = document.getElementById(id); sel.orig = {}; ... return object.extend(sel, object); } ...
Javis Perez's user avatar
  • 4,290
22 votes
6 answers
38k views

Is there anyway to detect OS language using javascript?

I need to detect OS language using javascript so I can view my page depending on the language. I know that we can detect the browser language but that is not enough for me. I need Operation System ...
Saleh's user avatar
  • 2,687
0 votes
3 answers
193 views

what are the top js lib/framework/tool i should know?

i know the basics of js the language for several years, but never had a need to go deeper than say change a style of a paragraph or do a image rollover or validate a field. am thinking going deeper ...
Xah Lee's user avatar
  • 17.1k
0 votes
3 answers
405 views

is unescaping a javascript pre-escaped function a bad idea for performance?

I want to pre-escape part of my javascript code and then include it in my page in the form of eval(unescape([code])). would I be sacrificing performance?
Neo's user avatar
  • 11.3k
8 votes
2 answers
9k views

javascript framework for relationship visualization [duplicate]

Possible Duplicate: Graph visualization code in javascript? I need to create a dynamic visualization for nodes and their relationships in Javascript. What's the best framework to use? This is ...
at.'s user avatar
  • 51.8k
1 vote
4 answers
8k views

CKEditor : How to apply/load automatically a template in the editor?

I'm using the WYSIWYG editor CKeditor in one of my websites. In order to be more user friendly, I would like to load automatically a specific template each time the editor is used. The customer has to ...
Mulien's user avatar
  • 13
26 votes
3 answers
40k views

Real Time data graph [closed]

I would like to build a web-based real time data graph and i'm looking at the different options such as: Html5 canvas JS libraries with graph support such as Extjs By real time i mean, either the ...
ken's user avatar
  • 3,745
1 vote
0 answers
355 views

Better dialog shadows in YUI 2?

Here's a tricky one: has anybody seen a YUI dialog/panel implementation with nice OS X style shadows around the dialog, instead of the blocky shadow that is implemented by default with the "underlay" ...
user avatar
1 vote
1 answer
3k views

Page refresh with onclick event in dojo and I don't want a page refresh

For some reason in IE8 when I run this function after an onclick event it causes a page refresh. I don't wan the page refresh to happen. var edealsButton = dojo.byId("edeals_button"); var ...
Ben Coffman's user avatar
  • 1,750
3 votes
1 answer
2k views

How to use javascript namespaces correctly in a View / PartialView

i've been playing with MVC for a while now, but since the project i'm on is starting to get wind in its sails more and more people are added to it. Since i'm in charge of hacking around to find out ...
samy's user avatar
  • 14.9k
1 vote
2 answers
167 views

What exactly happens in this javascript sequence?

I would like to get a deeper understanding of the nuances of javascript. Take the function below: str.replace(/(\b[^:]+):'([^']+)'/g, function ($0, param, value) { ret[param] = value; }); Why ...
meow's user avatar
  • 27.7k
3 votes
3 answers
3k views

Calling Javascript function from Java using JSObject

I'm just trying to call a Javascript function from Java using JSObject. I need the Javascript function to update an HTML text field. For this I need to know the element ID and the value. I have tried ...
Marquinio's user avatar
  • 473
3 votes
3 answers
1k views

Defining Functions In Javascript Within jQuery

I'm working on a proprietary site, and I'm having some issues. I'm using jQuery along with prototype, and I've got it namespaced properly, so in this question assume you can use $ or jQ as a ...
bryan.taylor's user avatar
2 votes
6 answers
98 views

jQuery Selector Problem?

I am using the hover function for mouse over in a menu. I have selected a particular element using it's class. To make changes to only that element and not all the elements with that class I can use '...
Aayush's user avatar
  • 3,089
100 votes
3 answers
85k views

how to select all class except the clicked element in JQuery?

I have a website developed on Drupal. I use a module called collapsiblock (it is basicly a JQuery plugin) to achieve accordion like effect. It is working fine with me (although it is in Beta). But I ...
Hassan Al-Jeshi's user avatar
0 votes
4 answers
4k views

Calling one method from another in JS

I have the following snippet of JS var Customer : function() { this.ShipProduct : function() { //Logic for shipping product. If shipping successful, notify user //Here I am ...
Nick's user avatar
  • 7,495
1 vote
0 answers
480 views

Twitter Hovercards in GWT PagingScrollTable

How do you implement Twitter Hovercards in GWT PagingScrollTable? The Hovercard links work fine when, say, I add new Label("@ded") to a HorizontalPanel. However the Twitter JavaScript function doesn'...
Glenn's user avatar
  • 6,493
4 votes
8 answers
1k views

"Thin" JavaScript framework for cross-browser scripting?

Is there a JavaScript framework that focuses on extending JavaScript by levelling the implementation differences? I don't mean a framework that simply provides the same functionality across different ...
14 votes
6 answers
8k views

Is plain vanilla JavaScript better than using frameworks like jQuery or MooTools? [closed]

I am wondering if it is a good idea to rely on frameworks like jQuery or MooTools or should we just use plain JavaScript? Apart from avoiding the re-invention of wheel, do they add any specific value?...
Amit Dugar's user avatar
8 votes
3 answers
6k views

jQuery, Web Application Framework?

For the longest time I've used jQuery to hack together web sites. Now I'm interested in making a web application (one page load for the entire site to function, like Gmail). Are there any jQuery ...
AnApprentice's user avatar
2 votes
3 answers
989 views

Learning YUI from scratch

I am new to YUI and I want to learn it from scratch. Can you suggest some books or tutorials? Where should I start? It seems YUI 3 is different from its predecessors. Please help me.
Aneesh's user avatar
  • 1,203
1 vote
1 answer
140 views

Using Prototype JS on pages that use jQuery

I am revamping a website that now uses jQuery. The process is more than half way done but for the time being I need to setup a demo as soon as possible. For this I will copy existing ASP code as-is ...
Salman A's user avatar
  • 268k
0 votes
2 answers
282 views

Accessing elements created on-the-fly jQuery?

i am using this gallery plugin but i can't access the elements created on-the-fly by the plugin. what can i do?? Thanks folks!!
eos87's user avatar
  • 9,153
3 votes
6 answers
472 views

Why use "//-->" in javascript

I've seen this tag used after javascript functions for over a decade now and never asked WHY. It's seen in most of the tutorials I've seen over this time, but I usually leave it out... it doesn't ...
Justin's user avatar
  • 369
1 vote
5 answers
117 views

Why this is giving different month

The following code below: var unixDate = new Date('07/28/2010'); var unixMonth = unixDate.getMonth(); var unixDay = unixDate.getDate(); var unixYear = unixDate.getFullYear(); alert(...
Asim Zaidi's user avatar
  • 27.7k
147 votes
7 answers
195k views

Get epoch for a specific date using Javascript

How do I convert 07/26/2010 to a UNIX timestamp using Javascript?
Asim Zaidi's user avatar
  • 27.7k
4 votes
2 answers
1k views

JavaScript compatibility libraries

Are there javascript libraries that provide forward compatibility with particular implementations? For example, such a library could provide features present in JavaScript 1.6 in a way that's ...
intuited's user avatar
  • 23.6k
1 vote
2 answers
400 views

No client script to check file size before uploading [Discussion]

I am developing the web based application which require to check size of any file before uploading it on server. It would have been easy if there was any means by which web developer can check size ...
Amit Shah's user avatar
  • 327
3 votes
2 answers
3k views

Lightweight library for cross-browser event support [closed]

Cross-browser handling is quite a hassle sometimes. In this case I need to capture quite a number of events, but cannot afford to use a multi purpose library that exceeds 10ish Kb. (e.g. jQuery, ...
RadiantHex's user avatar
  • 25.3k
5 votes
6 answers
2k views

What is the easiest Javascript framework for a newbie web developer?

Put your foot inside the boots of an expert developer that is new to web development. Certainly he will must deal with JavaScript and probably he will encounter a bit of difficulties with choosing a ...
Angelo Badellino's user avatar
13 votes
4 answers
8k views

Dojo vs YUI javascript framework

I want to know what you guys think of these 2 frameworks, in terms of: robustness, code quality, core developers moving forward with new features, cross browser problems, module components, easiest ...
The Orca's user avatar
  • 1,250
0 votes
2 answers
244 views

Which version of SproutCore should I use for a new project

I'm starting a project that is due to launch in about 4 months and I'll use SproutCore as the front end technology. There are two ways of installing described here http://wiki.sproutcore.com/Abbot-...
Rafael Vega's user avatar
  • 4,595
0 votes
2 answers
107 views

selectors with variables

I want to change the colour of shop x when I hover on the X box and vice versa. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html&...
mickey159's user avatar
0 votes
1 answer
54 views

Select checkbox only when some at lower level are checked

I have this code that will check the top level checkbox if the checkboxes underneath it are selected. What I also want to do is to unselect the top level check box, if there are no checkboxes selected ...
Asim Zaidi's user avatar
  • 27.7k
4 votes
2 answers
1k views

How is something like Sproutcore/Qooxdoo helpful?

I am learning Python and building my first web app. I have been going thru the django tutorials and just beginning to think about how to do the client side. I want it to be web 2.0-ish, and will need ...
Steve's user avatar
  • 715
105 votes
4 answers
174k views

How to get an element by its href in jquery?

I want to get an element by its href attribute in jquery or javascript. Is that possible?
eos87's user avatar
  • 9,153
2 votes
3 answers
578 views

Using prototype with Jquery

Is there any way of using prototype to coexist with Jquery. What i mean is not Jquery with prototype with the Jquery NoConflict tag but the other way around. I have to override prototypes utility ...
Jet Abe's user avatar
  • 23
2 votes
7 answers
216 views

which is the best among jquery,moo tool and yui? [closed]

Hi among the jquery ,mootool ,yui and glow have crossbrowser compatiblity
user366147's user avatar