similar to: Returning Javascript

Displaying 20 results from an estimated 20000 matches similar to: "Returning Javascript"

2006 Mar 17
12
Exception in Javascript console in Firefox 1.0.7
Has anyone else seen this? Error: uncaught exception: [Exception..."Component returned failure code: 0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS) [nsiXPCComponents.lookupMethod]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location:"JS frame :: chrome://global/content/XPCNativeWrapper.js :: anonymous :: line 91" data: no] I got that output to the
2006 Jun 15
4
Yahoo!-like Event object emulation/abstraction in Prototype?
Hi, I was reading about the Yahoo! library recently and was really excited by the idea that I wouldn''t have to branch for IE in my event handlers. Is there any chance that such abstraction will come to Prototype? Thanks, Sam
2006 Jun 15
3
RE: Yahoo!-like Event object emulation/abstractionin Prototype?
Event.observe(myelement, ''click'', myfunc.bindAsEventListener()); That might fix your wagon. Greg > -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs- > bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Sam Rowe > Sent: Thursday, June 15, 2006 11:24 AM > To:
2006 Feb 17
6
Ajax.Updater and loading new javascript functions.
I working on rebuilding my CMS software using AJAX, and have run into a couple problems I cant seem to find the solution to. I am loading up a new component of my system using the Ajax.Updater, and it loads up the HTML fine but as the component I am loading up is fairly complicated I want to load up its relevant javascript functions as well at the same time. I am using the
2006 Feb 17
4
RE: Ajax.Updater and loading new javascriptfunctions.
<p align=\"left\"><b><font face=\"Arial\" size=\"2\">GFI MailSecurity''s HTML threat engine found HTML scripts in this email and has disabled them.</font></b></p>Also... with the evalScripts method, try assigning your functions differently so they stay in memory (assign them as variables)... myalert = function(txt) {
2006 Jun 15
10
RE: Yahoo!-like Event object emulation/abstractioninPrototype?
If that doesn''t work, then you''ve done something wrong somewhere. ''Cause it works for IE for me and everyone else. The only advantage I see with the YUI toolkit is that it''ll defer attaching events to elements that do not yet exist in the DOM. Big whoop, only a sloppy programmer would try to attach an event to a non-existant element. With Prototype, you can
2006 Jan 04
9
Resizeable
Has anyone done any work on a "Resizeable" class they''d be willing to share? I''m looking to do some stuff that''ll need resizable divs, but I didn''t want to re-invent the wheel if I can avoid it. -Jerod _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Jan 18
8
BlindDown on a div with overflow: auto...
I have a div with overflow: auto... BlindUp works fine. But BlindDown simply waits the duration and shows the div at full size (no blinding down effect). If I remove overflow: auto it works fine. Why would this work for BlindUp but not BlindDown? Sincerely, Ryan Gahl Design Engineer Camtronics Medical Systems (an Emageon Company) Ryan.gahl-nlycWCgr5/vuufBYgWm87A@public.gmane.org
2006 Jan 12
6
Draggable performance issues
Using the script.aculo.us Draggables, I''m noticing they are a bit less than fast. I drag them around on the screen and they jump and glitch to catch up with the mouse. Has anyone else noticed this, and are there any optimizations that have been identified that I can apply? I''m using v. 1.5 Sincerely, Ryan Gahl Design Engineer Camtronics Medical Systems (an Emageon
2006 Feb 27
30
Calendar widget
Has anyone made, or does anyone know of, a nice calendar control based on prototype/scriptaculous out there yet? Thanks in advance! Sincerely, Ryan Gahl Design Engineer Camtronics Medical Systems (an Emageon Company) Ryan.gahl-nlycWCgr5/vuufBYgWm87A@public.gmane.org 262-369-3251 The information transmitted in this electronic mail is intended only for the person or entity to which it
2005 Dec 14
11
Prototype 1.4 bug?
Hi and greetings to all... I''m new to the community and I have a small problem. I just downloaded the latest prototype.js lib from the darcs repository. When I included this file in my HTML page, is get the following error: Line: 471 Char: 2 Error: Object doesn''t support this action Code: 0 Char 2 at that line number is a closed parantheses for the
2006 Mar 03
11
event.keyCode broken in prototype?
I ran 2 tests. One using proto''s Event.observe, and another using an in-line handler of the "keydown" event in a textbox. Using .bindAsEventListener, the event.keyCode is always returning a capital letter, no matter what. The in-line event handler returns lowercase vs. uppercase correctly... What''s going on? I guess I find it hard to believe no one has tried
2006 Mar 21
16
Javascript Code inside an Ajax response
Hi, i wish to run a function that came inside my Ajax response. I read that i have to use the evalScripts to make this, but still i couldn''t make it work. The error said that my function isn''t declared. I look at the Sergio Pereira tutorial about use the var xxx = function() but still doesn''t work. Someone could help me? In the response this is the code: for (var i =
2006 Jan 03
45
Status of Prototype
Hi *, we are using prototype in Apache MyFaces as our javascript library of choice. Recently, there has been much discussion on our mailing list as to the usability of prototype in a dynamic environments where several javascript libraries are used. The critics of prototype argue that the prototype objects are not namespaced - and that prototype extends basic javascript-objects with method names
2006 Mar 16
20
help with each
can you please tell me why this is not working? i got the example for how to use each online and copied it to a t (except i added the if). its telling me items.each does not exist. var items = document.getElementsByClassName(''editView''); if (items.length > 0){ items.each(function (result){ thisid = result.id; thiskey = thisid.replace(/se_item_/gi, '''');
2006 Feb 10
8
Prototype Inheritance example
Hello Everyone, I am working on a control collection for javascript/Ajax.Net. I am stuck on the class inheritance aspects of the prototype library. If someone could point me to an example it would be a great help. I have looked through the controls.js of the scriptaculous library and found something like the below code, but everytime I ran it I would get a constructor error. Thanks for any help;
2006 Jan 20
8
AJAX for sale!
Thought I would share this with you guys, it brought a smile to my face this morning... So, I work for a quick American company who I won''t name, and for the past few months I have been pushing to use AJAX in some of our Web applications. This looks like its finally happening, and we are using it in an upcoming project. There was a meeting about it yesterday, which unfortunately I
2006 Feb 14
7
onFailure fails?
Hi all, I have this code: new Ajax.Request(''non_existant.file'', { onSuccess:function(){alert("yay");}, onFailure:function(){alert("boo");} }); Why does the onFailure alert never get called? It works fine if I use a real file (onSuccess gets called). Thanks, Douglas
2006 Jan 11
8
[scriptaculous] Intermitently Disabling Clicks
I have button that slides down a menu using Effect.BlindDown, but the function that slides it down also makes it so that the opening link now slides the menu back in. If the user double clicks the link (thuse opening & closing immediatley) the slide animation breaks, then will not extend correctly (but no JS errors). How would you go about stopping this happening? Also, is it just me or is
2006 Feb 07
16
Notify JS updates, oh my
Hey all, I just wanted to let you guys know that I updated my notify script. I still need to package it for easy download (next on my task list) but it does what I need it to do. Any thoughts, comments? http://thinkof.net/notify/index.html Also thanks to those of you who helped previously. -Greg