similar to: inspect Function

Displaying 20 results from an estimated 30000 matches similar to: "inspect Function"

2005 Dec 08
2
Prototype.js Hash Methods
Hi, Has anyone seen any documentation on the Hash Object defined in the prototype library? To be precise the following methods - 1. keys 2. values 3. toQueryString 4. inspect 5. Merge I am trying to play around with them and have come up with the following examples - var h = $H({name: "john doe", email: "john-Ch9RrZxMC0c@public.gmane.org", msg: "say hello to
2006 Mar 22
3
document.write() in ajax response
Hi, I am facing a problem and the description is as follows - I have a page 1.html that does an Ajax.Updator & calls stuff from 2.html (that has some html snippet & some javascript). So far so good - things work fine. However, if 2.html had any document.write code - eg document.write(''hello'') then once the response is received it will be rendered till the point
2005 Dec 04
5
Javascript Logging
Hello Everyone, Just wanted to find out if scriptaculous has a patch for a error logging class? Currently, I have found 2 javascript logging scripts (outside of scriptaculous). Lumberjack: http://gleepglop.com/javascripts/logger/ log4js: http://jroller.com/page/stritti?entry=logging_in_javascript_log4js Could you guys shed some light on what would be a good logger class to use with our
2005 Dec 15
3
Generic Question about the way code is written
Hi, This is a generic question about the way code is written in prototype and scriptaculous libraries. Inside every object, we find functions that begin with "_". How are these methods/functions different from the rest? eg _text, _attributes, _each... Please let me know. Thank you, Mandy.
2006 Mar 03
3
xml handling
Hello there, im having a problem with the xml handling, i want to get and xml node and put things in an input text but im a little lost, im using this code, but isn''t work, what am i doing wrong? --------------------- <a href="#" onclick="getXML()">Get XML</a> <input type="text" value="nothing here" id="respuesta" />
2006 Feb 24
1
RE: Appending <tr>''s to Table - Images in<tr>''sloading slowly.
I tried the same thing Ryan - tried preloading the images using javascript once and then using CSS (heights of desperate behavior ;) But no Luck! But, IE is misbehaving in this respect. The application behaves fine once loaded. But, each refresh sucks! Only if I knew why this was happening ... :) Thanks anyway, Mandy.
2005 Dec 09
5
Prototype Enumerable, Array and Hash Documentation
Hey guys, I recently published an article documenting some of the more useful and interesting parts of Prototype''s Enumerable, Hash and Array objects. You can find it here: http://encytemedia.com/blog/articles/ 2005/12/07/prototype-meets-ruby-a-look-at-enumerable-array-and-hash If you have any feedback or suggestions, fire away. Cheers, -Justin Palmer
2005 Oct 27
3
String.protoype.toQueryParams
Hi, I am trying to play with all the methods in the Array Object. Just wanted to check with you guys if this is the correct explanation of toQueryParams(). If yes, then I''ll add it to the documentation as well. Works for me (but I am not sure if it''s the correct way to use it). /* String.prototype.toQueryParams takes a query string, i.e, string with name value pairs
2006 Jan 20
3
disabling drag''n''drop features on some areas
Hi, I have implemented the drag and drop feature to move around some divs, but I have a small side effect i am trying to clear: When the draggable div contains links, and if the user grab the div on the link, the drag is done but the link is also visited, leading to unwanted issues. What I''ve tried to do is to look for all ''a'' tags in the draggable elements in order
2006 Jan 11
9
Prototype & Cookies
Has anyone written any "cookie" class using prototype? Basically, what I am looking for is if there is an easy way to store mutiple cookies in a single cookie using hash or something - easy writing and retrieval (updating the cookie value). For eg - If I had 25 cookies for my domain 5 of the cookies would either get dropped or not be set (as there is a limit of 20 cookies per domain).
2006 Mar 01
1
manipulate <td>''s and their content by grabbing their classNames
Hi Guys, What''s the best way to grab all <td>''s in a particular table and manipulate them? Here''s the problem definition - I have a table that has ''n'' <tr>''s. Each <tr> has couple of <td>''s and the first <td> has an image. By default, each <td> has a ''x'' class and image src
2006 May 02
6
Stopping the Ajax.PeriodicalUpdater -- My Kludge?
Well, I''ve been burning the midnight oil trying to figure out how to issue the stop() command to a PeriodicUpdater. I''ve come up with a solution that uses setTimeouts to call the stop function. I think my solution is very kludgey... especially since I''m new to Javascript + Prototype. Can anyone let me know if the below code is at all proper? :) --------- Summary: A
2006 Mar 01
0
RE: manipulate <td>''s and their content by grabbingtheir classNames
Or... var myTDs = new Array(); $A($("main").childNodes).each(function(tr) { $A(tr.childNodes).each(function(td) { myTDs.push(td); }); }); -----Original Message----- From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of troels knak-nielsen Sent: Wednesday, March
2005 Nov 25
4
Rich Text Editor
I know this doesn''t necessarily fall under AJAX, but does anyone have any plans of donating a RTE (Rich Text Editor) plugin to scriptaculous?
2006 Mar 04
4
Tree
I''m not sure if this has been discussed, but is there a public tree control based on prototype/script.aculo.us? Thanks Jim _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 May 15
3
Javascript Profiler
Has anyone implemented a Javascript Profiler based on prototype (or not based on it)?
2006 Mar 01
3
RE: manipulate <td>''s and their contentbygrabbingtheir classNames
Ahh... Haven''t run up against that yet. Although I also completely disregard Gecko/Safari and other totally crappy, useless, browsers :-). </cynicism> -----Original Message----- From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Gregory Hill Sent:
2006 Apr 07
6
ajax loading message
Hello, I''m looking for some help - I''m having problems in getting the loading message to disappear - sometimes it disappears, sometimes it doesn''t. This is the javascript I have: ajaxContent: function(iTabPos) { if (isNaN(iTabPos)) return false; var iTabIndex = this._posToIndex(iTabPos);
2006 Aug 07
8
Dropables problem on scroll bars
I have a droppable and draggable implementation. works pretty much well except when my droppables are on a scrollbar (created via overflow:auto) since my droppables are on a list. seems that the droppables aren''t working well with scrollbars and overflow. please help! thanks! _______________________________________________ Rails-spinoffs mailing list
2005 Dec 27
2
wiki down
wiki is down yet again. anyone knows the downtime?