search for: ntag

Displaying 8 results from an estimated 8 matches for "ntag".

Did you mean: nag
2005 Aug 23
2
using the evalScript option on Ajax.Updater
Hi all, I''m having trouble with the evalScript option on the Ajax.Updater. I''ve removed everything except for the ajax call and a simple alert to try and debug it. It doesn''t appear that the regex is finding my JS in the response... I''m doing an update request and the response is coming back correctly to the updateConent function as this string: <script
2005 Aug 29
9
can a class find out it''s instance name?
Hi friends - a javascript question.... Does the prototype object add some way for a class to find out the variable name of its instance variable? Or does javascript have some built in way to do this? This is confusing to describe - but if I define a variable as some object: var myVariable= new Widget(''fdfa''); can some built-in method inside the Widget class be
2005 Sep 20
1
radio buttons and event obvsering
Hi, I made a little utility class that turns on a particular div when a radio button is clicked - a RadioButtonDivToggler. As the name hopefully suggests, when a radio button from the same group is clicked, a different div is made visible and the others are hidden. In essence, it toggles on (makes visible) the div associated with the radio button from a group that you clicked. However,
2005 Jul 18
13
in place text edit
I''ve written a pretty nice Flickr style in place text edit JavaScript control based on the Script.aculo.us library. API is like this: <span id="editme">Edit me!</span> <script> new InPlaceEditor($(''editme''), ''url/to/action''); </script> Background changes to gray as mouse hovers over the text (like flickr) and the
2007 Dec 21
0
Plotting multiple jpegs on a plot?
Hello, I have a set of data which I currently represent graphically on a plot. To do that, I use the embedded functions from the graphics package (symbols, rect, etc.) However, I would like to use static jpeg images to represent the data if possible. Here's my progress so far: 1. Used the rimage library to obtain the read.jpeg func. 2. Read in my jpeg image and assigned it to a variable. 3.
2005 Sep 07
0
automated testing advice
Hello friends, Any advice on automated testing of a web application with Prototype-based Ajax stuff? We were looking at something like Actiwate (Junit/HttpUnit stuff), but they don''t support XMLHttpRequest (yet). Using the new JS unit testing I''ve seen here doesn''t look like it would work, as we''re talking about multi-page as test vectors: 1. go to
2005 Aug 01
2
function.prototype.bind return value?
Quick question - how come the function.prototype.bind doesn''t allow for return values? Am I missing some basic understanding of how this works? I searched and couldn''t find an answer. Specifically, I''m binding an object method to an existing form''s onSubmit, but it still actually submits the form, refreshing the page - which is not what I want. If change
2005 Aug 02
0
Re: function.prototype.bind return
Ah - thanks Michael. Event.stop is precisely what I was looking for. I can just grab the event object inside the handler that I registered previously and pass it to an Event.stop call, and get exactly what I want. Thanks, Rahul Date: Tue, 2 Aug 2005 16:08:20 +0200 From: Markus Joschko <markus.joschko@gmail.com> Subject: Re: [Rails-spinoffs] Re: function.prototype.bind