Hi,
If you google warning reference to undefined property (without the
quotes), you'll find several pages discussing this issue. It relates
to Firefox's javascript.options.strict option, which sounds like a
good idea but apparently has issues.
HTH,
--
T.J. Crowder
tj / crowder software / com
,
--
T.J. Crowder
tj / crowder software / com
On Sep 9, 11:50 pm, sean [EMAIL PROTECTED] wrote:
I'm working on a custom extension of a couple of functions to the
Object class and was just wondering how prototype connects functions
such as Object.inspect(variable); to variable.inspect();
So far I
syntax. The only primitive values (e.g., things you leave out of
quotes) in JSON are false, true, and null.
So if you're not putting quotes around the things on the left, you
might try that to see if it's the problem. Maybe the MS parser is
being picky.
HTH,
--
T.J. Crowder
tj / crowder
{
// Your server-side code ran correctly, but
// returned an error; handle that.
}
}
}
[1] http://www.prototypejs.org/api/ajax/response
HTH,
--
T.J. Crowder
tj / crowder software / com
On Sep 18, 10:33 am, bluezehn [EMAIL
to the
group by replying to a group digest email, please correct the subject
line before posting. And that may increase the odds of someone
helping you out.
HTH,
--
T.J. Crowder
tj / crowder software / com
On Sep 18, 3:15 pm, Hugh Bothwell [EMAIL PROTECTED] wrote:
Second attempt:
I'm fairly new
reference into Event.observe, where it can be hooked up to the event.
HTH,
--
T.J. Crowder
tj / crowder software / com
On Sep 20, 8:25 pm, Newbee [EMAIL PROTECTED] wrote:
Hello,
I'm new to Prototype development, and love the power it gives.
What I don't get is why the Drop Down change event
,
--
T.J. Crowder
tj / crowder software / com
On Sep 20, 2:12 am, Bobby.D [EMAIL PROTECTED] wrote:
Ok, here is my scriptit's not working. When I comment out the
whole ajax request it works, but I just can't figure out what's going
on. Maybe I've just looked over it to many times.
function
, in the process of doing that you figure out what you've done
wrong. (No, seriously.) 2. If you don't, it gives you a nice example
to show to folks here (usually best to put it on Pastie -- http://pastie.org
-- so you get code highlighting and such) so we can help you out.
HTH,
--
T.J. Crowder
tj / crowder
complete), and then when
you have everything replace that loading page with the real UI? That
makes for a nicer experience for the user than something
nonresponsive...
FWIW
--
T.J. Crowder
tj / crowder software / com
On Sep 24, 1:21 pm, buda [EMAIL PROTECTED] wrote:
I know it but everywhere I have
the architecture, I think. To stop a request,
you need to call the abort() method on the underlying XHR object (if
it has one, but I think most implementations do have it now).
FWIW,
--
T.J. Crowder
tj / crowder software / com
On Sep 24, 1:03 am, buda [EMAIL PROTECTED] wrote:
so I have a problem
Hi,
Very strange. Can you produce a minimal one-page example that
demonstrates the problem? The code looks fine.
HTH,
--
T.J. Crowder
tj / crowder software / com
On Sep 24, 3:25 pm, FigglesKoy [EMAIL PROTECTED] wrote:
Not sure what version it was introduced in, but the latest
...and for future reference, in addition to the PDF resource JDD
linked to in the linked thread above:
http://globalmoxie.com/projects/prototype-pdf/index.shtml
...there's also a CHM version:
http://show.samesystem.dk/public/Prototype-v1.6.0.chm
Both of these are links from:
from Firebug, all I can say is disable Firebug, it's
probably not an issue with your script.
If it's *not* Firebug, though, can you give us more detail on the
error message, where it comes from, what browser you're using, what
OS, etc.?
--
T.J. Crowder
tj / crowder software / com
On Sep 25, 9:25 pm
, not least to be sure that you're actually seeing
what you think you're seeing (and that it's not a browser bug as
opposed to a Prototype bug). :-)
[1] http://pastie.org
Thanks,
--
T.J. Crowder
tj / crowder software / com
On Sep 25, 10:53 pm, Jan Luehr [EMAIL PROTECTED]
wrote:
Hello,
I'm using
Hi Mike,
Thanks for posting back. I think the 'out of memory' thing is a
Firebug bug, not a bug in your code or Prototype. Good you were able
to find the underlying problem.
-- T.J. :-)
On Sep 26, 4:14 am, MikeFeltman [EMAIL PROTECTED] wrote:
Hey,
Just wanted to let you know I was able to
Hi,
You want to use curry(), not bind(). The first param you give bind()
defines what this means within the called function. If you're not
using this, curry() is for defining just params without this.
HTH,
--
T.J. Crowder
tj / crowdersoftware / com
On Sep 27, 5:55 pm, glazer [EMAIL PROTECTED
Hi,
Why not use the responseJSON property?
http://www.prototypejs.org/api/ajax/response
Also:
//callback function
function loadcomplete(request)
Your variable name there is probably misleading, as the callback
receives an Ajax.Response object, not the Ajax.Request object.
HTH,
--
T.J
)
{
alert(response.responseJSON.foo);
}
...then provided no errors occur you'll see an alert showing bar.
--
T.J. Crowder
tj / crowder software / com
On Sep 28, 4:10 pm, uncleroxk [EMAIL PROTECTED] wrote:
I have try to change it to var response = eval(request.responseJSON);
.. and add header
head, there may be other problems.
The W3C validator may be useful:
http://validator.w3.org/
I don't understand the requirement as stated well enough to suggest
something else.
FWIW,
--
T.J. Crowder
tj / crowder software / com
On Sep 29, 9:27 pm, josher565 [EMAIL PROTECTED] wrote:
Here's some
Hi folks,
Tobie just told me that 1.6.0.3 is out:
http://www.prototypejs.org/download
Just thought I'd mention it for anyone who (like me) missed it.
Congrats and thanks to all of the contributors who did this work for
us!!
--
T.J. Crowder
tj / crowder software / com
() so that 'this' is set as
expected within the event handler.
http://www.prototypejs.org/api/function/bind
HTH,
--
T.J. Crowder
tj / crowder software / com
On Sep 30, 9:56 am, revivedk [EMAIL PROTECTED] wrote:
How would I do this?
new Ajax.Request(element.href
likely to overflow the toilet), but it's clearly
wrong and no plumber worth hiring would actually do it.
--
T.J. Crowder
tj / crowder software / com
On Sep 30, 2:00 pm, josher565 [EMAIL PROTECTED] wrote:
The reason why I have an anchor around a td is because the client has
specified to me
Hi,
Rather than posting pictures of a one-line error message, probably
just write it down so your entire question is in one place:
this.element is null on controls.js line 489:
if (!this.options.formId this.element.id) {
--
T.J. Crowder
tj / crowder software / com
On Oct 1, 4:01 am
://prototypejs.org/api/event/stop
You might also consider using Event.observe rather than declaring
handlers in your HTML:
http://prototypejs.org/api/event/observe
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 1, 3:09 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Really a flasher, but i
Hi,
I am using the latest version of Prototype.cs and the scriptaculous
files.
The latest version is a very slippery concept. Specific versions?
--
T.J. Crowder
tj / crowder softare / com
On Oct 3, 9:16 am, CallinBollig [EMAIL PROTECTED] wrote:
Hi,
I have a small issue, which I can't
with Element.toggleClassName
http://prototypejs.org/api/element/toggleClassName
Although this could be done with nested closures instead of named
function, I think a named function is both clearer and more efficient.
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 3, 10:11 am, Kris Northfield [EMAIL PROTECTED
Hi,
http://prototypejs.org/api/event/stop
It's worth taking an hour and reading through the API docs from
beginning to end. It literally takes that long, and it saves you a
lot more time than that in the long run:
http://prototypejs.org/api
Hope this helps,
--
T.J. Crowder
tj / crowder
for Prototype?
--
T.J. Crowder
tj / crowder software / com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
the issue with gatekeepig; gatekeepers tend to get
too busy...
--
T.J. Crowder
tj / crowder software / com
On Oct 5, 9:39 pm, Tobie Langel [EMAIL PROTECTED] wrote:
What would go in this wiki ?
On Oct 5, 10:34 pm, T.J. Crowder [EMAIL PROTECTED] wrote:
Hey Tobie,
So there's no plan to host
Hey Tobie,
There are some security issues with the github wiki which currently
makes it improper to be used as a community wiki.
Okay.
Regarding the FAQ, I remember clearly requesting a number of changes
to it before publishing it and haven't heard about it since then.
As of our email
be outside of the code you quoted.
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 6, 7:26 am, kstubs [EMAIL PROTECTED] wrote:
I have a JSON array list, I am matching the Name item against 1 or
more items in my match array.
Pseudo:
for each list.item
if item Name contains one and every
for a thread on it in the next week or so.
--
T.J. Crowder
tj / crowder software / com
[1]
http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/08b3bbc96fbd5ad7
On Oct 6, 5:23 pm, Jerod Venema [EMAIL PROTECTED] wrote:
On Sun, Oct 5, 2008 at 5:30 PM, Tobie Langel [EMAIL
@Brian - Sounds like a good idea! One thing I was thinking of was
very similar, basically a list of simple things and how Prototype
helps you do them.
@diodeus: Your (sic) not the only one.. ;-)
I'll have something up soon...
--
T.J. Crowder
tj / crowder software / com
On Oct 6, 7:12 pm
(transport.responseJSON) : no JSON object);
},
Or if you really want to send an X-JSON header (where the body of the
response is something else), you'll have to modify your PHP to do
that.
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 7, 2:54 am, liketofindoutwhy [EMAIL PROTECTED
Hi,
Hmmm, I've already created a wiki -- just came to the forum to post an
announcement. Look for that in a moment.
--
T.J. Crowder
tj / crowder software / com
On Oct 7, 2:33 pm, White Shadow [EMAIL PROTECTED] wrote:
Hey Prototypers,
I've posted a few days ago a reply in the Prototype blog
Hi,
If you're thinking of using it on an unofficial site, you will
definitely want to check with the Core team first. Suggest posting
over in the Prototype Core group:
http://groups.google.com/group/prototype-core?lnk=
--
T.J. Crowder
tj / crowder software / com
On Oct 7, 2:39 pm, White Shadow
Also, please don't change the subjects of other peoples' threads.
You're free to start your own thread...
--
T.J. Crowder
tj / crowder software / com
On Oct 7, 2:33 pm, White Shadow [EMAIL PROTECTED] wrote:
Hey Prototypers,
I've posted a few days ago a reply in the Prototype blog about
it'll
probably grow slowly over time.
Enjoy!
--
T.J. Crowder
tj / crowder software / com
[1]
http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/2d17e1b0004534b9
[2]
http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/af5a11c788b487ed
[3]
http
unclear about that, and I
apologize! The word subject is, er, subject to
interpretation... ;-)
--
T.J. Crowder
tj / crowder software / com
On Oct 7, 3:18 pm, Ryan Gahl [EMAIL PROTECTED] wrote:
Awe, come on TJ :)
While I can see how his post is somewhat of a self promotion, I think he
means well
LOL I'm in the middle of converting it from markdown to wikidot as we
speak...
-- T.J. :-)
On Oct 7, 4:27 pm, kangax [EMAIL PROTECTED] wrote:
On Oct 7, 10:11 am, T.J. Crowder [EMAIL PROTECTED] wrote:
Hi folks,
In a few threads recently[1][2][3], there's been discussion of having
wiki, and hook into
other parts of the unofficial wiki.
--
T.J. Crowder
tj / crowder software / com
On Oct 7, 4:27 pm, kangax [EMAIL PROTECTED] wrote:
On Oct 7, 10:11 am, T.J. Crowder [EMAIL PROTECTED] wrote:
Hi folks,
In a few threads recently[1][2][3], there's been discussion of having
...
--
T.J. Crowder
tj / crowder software / com
On Oct 7, 5:20 pm, Walter Lee Davis [EMAIL PROTECTED] wrote:
A bit off the original topic, but does anyone know of a Wiki that is
based on Markdown?
Walter
On Oct 7, 2008, at 11:38 AM, T.J. Crowder wrote:
converting it from markdown
...and we have a winner: Walter is the first person to contribute
(other than myself, obviously).
Yay!
-- T.J. :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this
I'm getting some sponsorship for this from the company I work for...
*green with jeolousy*
I would say be sure to let us know when the site is live so we can
link to it from the unofficial wiki...but you're already a member and
can add the link yourself! ;-)
--
T.J. Crowder
tj / crowder
Hi Jan,
Doh! Fixed now. The wiki was still marked private, and so the system
wasn't letting you go to the second page. (It's not meant to require
membership just for *viewing*.)
Fixed now, sorry for the hassle!
--
T.J. Crowder
tj / crowder software / com
On Oct 8, 8:22 am, Jan Hansen [EMAIL
of a
faster way to do the SlowIdentityBag; anyone have a l33t idea there?
FWIW,
--
T.J. Crowder
tj / crowder software / com
On Oct 8, 4:18 am, buda [EMAIL PROTECTED] wrote:
I have an object
var obj = {
info: {
section:{
CountryCities:{
filter: {
CountryID
you
join).
Would like to edit the complex example on
http://proto-scripty.wikidot.com/prototype:howto-hooking-eventsto use
invoke ...
Great!
--
T.J. Crowder
tj / crowder software / com
On Oct 8, 1:32 pm, Richard Quadling [EMAIL PROTECTED]
wrote:
2008/10/8 Richard Quadling [EMAIL PROTECTED
Sorry, fixing the subject line -- I seem to have left off an important
bit!
-- T.J. :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this group, send email to
.
What would make it falter and die would be if people didn't post
content.
--
T.J. Crowder
tj / crowder software / com
On Oct 8, 1:56 pm, puckpuck [EMAIL PROTECTED] wrote:
Given the recent blog post from the prototype core, is this wiki going
to be endorsed by the core?
We don't need them
Or, if there's a situation where any() or all() doesn't suit, you can
break each() loops by throwing $break.
--
T.J. Crowder
tj / crowder software / com
On Oct 9, 10:04 am, Tomasz Kalkosiński [EMAIL PROTECTED]
wrote:
Nah! I've just discovered Enumerable.any() and Enumerable.all(). That
should
;
}
});
return result;
}
FWIW,
--
T.J. Crowder
tj / crowder software / com
On Oct 9, 11:38 am, Tomasz Kalkosiński [EMAIL PROTECTED]
wrote:
On Oct 9, 12:23 pm, T.J. Crowder [EMAIL PROTECTED] wrote:
Or, if there's a situation where any() or all() doesn't suit, you can
break each() loops by throwing
personally, I would consider this a serious drawback to using json - as
opposed to xml, which does not display this behavior.
It's not a JSON thing, it's something specific to what you're doing.
Can you give us an example of the actual JSON data you're returning
from the server?
--
T.J
an actual example above.
user description as stored in mysql - 'I\'ll take you down to china
town'
when I parse the json object the slash is removed, so I print -
onclick=function('I'll take you down to china town')
which throws an error.
On Oct 9, 5:04 pm, T.J. Crowder [EMAIL PROTECTED
strange behaviour on MSIE -- news at 11.
Sorry, couldn't resist.
-- T.J. ;-)
On Oct 9, 8:01 pm, maxxe [EMAIL PROTECTED] wrote:
Hi there,
i'v got a weird problem with prototype and a script that handle a
dropdown menu.
here is the relevant code (javascript)
code
function
, and of course will be cached if
any previous site has used the same URL. The URL to use is:
http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 10, 7:54 am, liketofindoutwhy [EMAIL PROTECTED]
wrote:
would it be helpful if we have
,
--
T.J. Crowder
tj / crowder software / com
On Oct 10, 1:37 pm, darrinholst [EMAIL PROTECTED] wrote:
How about something like
$H(errors).each(function(pair) {
$(pair.key + '.error').update(pair.value);
});
On Oct 10, 3:09 am, Ben Short [EMAIL PROTECTED] wrote:
Hi,
I have a simple
/04/you-must-remember-this.html
[2] http://www.alistapart.com/articles/getoutbindingsituations
--
T.J. Crowder
tj / crowder software / com
On Oct 12, 12:02 pm, buda [EMAIL PROTECTED] wrote:
I need to call
var data = {.};
el.fire('event1:fired', data);
with delay
I have tryed
Hi,
JavaScript provides the eval() function for this. Google javascript
eval to find some references.
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 13, 1:09 am, Charles [EMAIL PROTECTED] wrote:
Is there any possible way with Prototype to parse the content of a
string in reference
More in this tip on the unofficial wiki:
http://proto-scripty.wikidot.com/prototype:tip-using-an-instance-method-as-a-callback-or-event-handler
-- T.J. :-)
On Oct 13, 12:17 pm, T.J. Crowder [EMAIL PROTECTED] wrote:
Hi,
Unfortunately this doesn't work because it's not in the right scope
Hi,
So if they're not on a server and not on localhost...where are they?
Do you mean file:// URLs? Perhaps give us an example?
--
T.J. Crowder
tj / crowder software / com
On Oct 13, 3:53 pm, hds [EMAIL PROTECTED] wrote:
Hi.
Does anyone know why? Any solution?
Thanks
Hi,
(Regarding your two re-posts when this didn't show up instantly:
Messages from new members are held for moderation, and so they don't
show up immediately. Apparently there wasn't anyone available to
moderate until I got in this morning.)
--
T.J. Crowder
tj / crowder software / com
On Oct
]').invoke('observe', 'keypress',
handleEnter);
References:
$$(): http://prototypejs.org/api/utility/dollar-dollar
Enumerable.invoke: http://prototypejs.org/api/enumerable/invoke
Element.observe: http://prototypejs.org/api/element/observe
Event.stop: http://prototypejs.org/api/event/stop
HTH,
--
T.J
Hi,
Have you checked over on http://scripteka.com/? Lots of stuff there.
More resources on the Extras page of the unofficial wiki:
http://proto-scripty.wikidot.com/extras
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 14, 8:49 pm, jason maina [EMAIL PROTECTED] wrote:
Hi,
Have been
this morning:
http://proto-scripty.wikidot.com/prototype:tip-using-unobtrusive-javascript
I left out the X-JSON option because it didn't quite seem to fit.
--
T.J. Crowder
tj / crowder software / com
On Oct 15, 7:15 am, RobG [EMAIL PROTECTED] wrote:
On Oct 14, 5:07 pm, T.J. Crowder [EMAIL PROTECTED
element in the DOM, the browser does the rest and I'm guessing
does it on its own thread(s). Probably best to have the script you're
loading announce itself to the script loading it when it loads. Then
you know it's there.
--
T.J. Crowder
tj / crowder software / com
On Oct 15, 8:08 pm, Hector
the profile of your question is kind of uncool. I'm sorry
you're not getting the help you're looking for, it happens that way
sometimes.
[1]
http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/63596b0ec84ca27a/fb40c83d546e8bf8
--
T.J. Crowder
tj / crowder software / com
On Oct 15
.org/TR/html401/interact/forms.html#control-name
[3] http://www.w3.org/TR/html401/interact/forms.html#adef-name-INPUT
HTTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 15, 6:39 pm, delishus [EMAIL PROTECTED] wrote:
Hi..wonder if anyone can point me in the right direction
The first assertion is right.
Ah, good! That one caught me out at first too.
Looks like I forgot to include the reference I flagged with [1].
It's:
http://prototypejs.org/api/function/defer
-- T.J. :-)
On Oct 16, 7:51 am, aperrin [EMAIL PROTECTED] wrote:
The first assertion is right. With
Again, a much simpler, more performant solution to this issue is to
use event delegation.
VERY good point, I've updated the tip to mention that. Need to find
some good links about event delegation and/or source a How To for it
for the wiki. I'll ping Christophe, given that he's just done a
://pastie.org/293753
dynamic.js: http://pastie.org/293754
Again, though, I wouldn't be at all surprised if there are subtlties
and wrinkles that aren't dreamt of in my philosophy -- or at least not
handled in this code. :-)
--
T.J. Crowder
tj / crowder software / com
On Oct 16, 10:54 am, jason maina [EMAIL
.
All time I think it's still Christophe. :-)
[1] http://groups.google.com/group/rubyonrails-spinoffs
...I'm the
one who'll be made to look like a fool.
I certainly hope not.
--
T.J. Crowder
tj / crowder software / com
On Oct 16, 8:49 am, delishus [EMAIL PROTECTED] wrote:
I apologize for my
is if the load of the ajax data take more than 200 ms the
event on dynamic element doesn't works
Il prefere use defer but it doesn't works...
Any idea (i use prototype 1.6.0.3)?
On 16 oct, 09:47, T.J. Crowder [EMAIL PROTECTED] wrote:
The first assertion is right.
Ah, good! That one
();
/script
That defines an anonymous function, then schedules it for execution
later (just a moment later) via Function.defer.
More in the unofficial wiki:
http://proto-scripty.wikidot.com/prototype:tip-scripting-dynamically-loaded-elements
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct
For anyone coming to this thread later, there's now a (rough) how-to
on the unofficial wiki:
http://proto-scripty.wikidot.com/prototype:how-to-load-scripts-dynamically
-- T.J. :-)
On Oct 16, 11:11 am, T.J. Crowder [EMAIL PROTECTED] wrote:
Hey Jason,
[Call me T.J. :-)]
Caveat: I have
.
BTW: If you feel like pitching in, there's a list of things needed/
wanted here:
http://proto-scripty.wikidot.com/pitch-in
Thanks in advance,
--
T.J. Crowder
tj / crowder software / com
--~--~-~--~~~---~--~~
You received this message because you are subscribed
clickHandler(evt)
{
// Get the blarg from json:
var blarg = this.blarg;
}
I don't think I've seen anyone do quite that thing before, but it
seems like a perfectly valid use of bind().
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 17, 7:49 pm, pancakes [EMAIL PROTECTED] wrote:
I have
'this'
pseudo-parameter (as Crockford calls it) is surprising is a
different thing entirely. *I* was certainly surprised by it at first,
I don't mind saying. ;-)
-- T.J. :-)
On Oct 17, 8:33 pm, kangax [EMAIL PROTECTED] wrote:
On Oct 17, 12:08 pm, T.J. Crowder [EMAIL PROTECTED] wrote:
It's
var glarb = json.glarb;
// Do something with it using another method of this instance
this.doSomething(glarb);
}
FWIW,
--
T.J. Crowder
tj / crowder software / com
On Oct 17, 8:51 pm, suki rosen [EMAIL PROTECTED] wrote:
that's great. thanks - I'm glad I was on the right track
can avoid causing the scrolling in
the first place, that's probably better.
[1] http://www.prototypejs.org/api/document/viewport/getscrolloffsets
[2] http://www.w3schools.com/HTMLDOM/met_win_scrollto.asp
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 19, 10:28 am, SQE [EMAIL PROTECTED
options are affected by `display`
or `visibility` styles. You would probably need to remove/add it.
FWIW,
--
T.J. Crowder
tj / crowder software / com
On Oct 19, 5:07 pm, Cristisor [EMAIL PROTECTED] wrote:
I'm sorry, I did a mistake in the code. It should be like this:
$('Birthdate_Day').options
they were functional.)
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 20, 9:25 am, Cristisor [EMAIL PROTECTED] wrote:
I tried to remove it and add it later, but it won't work in IE 6, I
get the error: Object doesn't support this property or method. I
know what this means, but IE 6
Hi,
considerations: 2 ul elements sharing id because of css styling.
Not really, right? You mean they're sharing the same class or some
such? You can't have two elements on a page with the same ID; IDs are
required to be unique across the DOM.
FWIW,
--
T.J. Crowder
tj / crowder software
where the missing $() should go.
More about the general topic of extending elements here:
http://www.prototypejs.org/learn/extensions
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 20, 11:57 pm, jschank [EMAIL PROTECTED] wrote:
Hello,
I'm using protoype.js in a rails application
/group/prototype-scriptaculous/browse_thread/thread/2d721cacad30d9e7
Might be worth teaming up with the other people having similar
problems...
Sorry not to have an answer for you,
--
T.J. Crowder
tj / crowder software / com
On Oct 22, 12:02 am, d_idaho [EMAIL PROTECTED] wrote:
Hi,
I'm using
the alert. Once
loaded, the scripts on the fragment and in the main page have access
to each other, it's all the same DOM document.
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 22, 9:42 am, DaveC [EMAIL PROTECTED] wrote:
This is kind of related to previous post Dynamic script file
loading
://www.prototypejs.org/api/enumerable/each
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 22, 12:53 am, RobG [EMAIL PROTECTED] wrote:
On Oct 22, 5:31 am, buda [EMAIL PROTECTED] wrote:
Often I need to wtite somthing like :
var el = $('elid');
if (el){
el.doSomthing
or out of date as of the current version of Prototype,
1.6.0.3. Both kinds of declarations work fine (on FF3, IE6, Safari
3.1.2, and Opera 9.1 -- all on Windows). I'll file a documentation
ticket on Lighthouse about it; it needs to be removed or explained
more thoroughly.
--
T.J. Crowder
tj
(not
to mention Andrew's recent blog posts), I think that the Core folks
are with us on that as well and that we'll be seeing efforts from them
on that front.
--
T.J. Crowder
tj / crowder software / com
On Oct 22, 7:07 pm, Andrew Kaspick [EMAIL PROTECTED] wrote:
A little late to this thread
Hi,
I *think* Aptana has Prototype code-assist you may not have seen. No
idea how good / up-to-date it is though.
http://www.aptana.com/docs/index.php/Getting_started_with_Aptana_and_Prototype
FWIW,
--
T.J. Crowder
tj / crowder software / com
On Oct 23, 10:25 pm, Jesper Sjöquist [EMAIL
you'll find the problem in the process of doing that, and
if not, maybe with a whole (but short) example page to look at,
somewhere here will come up with an answer...
[1] http://pastie.org
FWIW,
--
T.J. Crowder
tj / crowder software / com
On Oct 27, 12:02 pm, stoshski [EMAIL PROTECTED] wrote
Hi Jason,
Try adding evt.stop() to your anFunction handler. Details:
http://prototypejs.org/api/event/stop
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 27, 4:22 pm, jason maina [EMAIL PROTECTED] wrote:
Hi all,
Im having this page with tabs in another page but added through php
,
--
T.J. Crowder
tj / crowder software / com
On Oct 28, 1:57 pm, Benjamin [EMAIL PROTECTED] wrote:
Well I also tried it earlier, but I tried again and it's not working :
function reload()
{
text = file('ajax.php?action=reload');
if (text != 0)
writediv(texte, 'my_ul
LOL Glad I could help.
-- T.J.
On Oct 28, 3:24 pm, Benjamin [EMAIL PROTECTED] wrote:
Damn you T.J. Crowder I love you ! You solved the problem I had for
like a week !
Here's a simple example :
head
titleSortable list/title
script src=lib/prototype.js type=text/javascript/script
script
Element.observe after doing the update:
http://proto-scripty.wikidot.com/prototype:tip-scripting-dynamically-loaded-elements
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 28, 11:52 pm, johnrails [EMAIL PROTECTED] wrote:
Hi all,
I'm having a small issue with generated content using
Hi,
Can you create a small, stand-alone example and put it on Pastie[1]?
I'm afraid I'm not understanding what you're trying to do and what's
not working about it.
[1] http://pastie.org
--
T.J. Crowder
tj / crowder software / com
On Oct 29, 7:30 am, sara [EMAIL PROTECTED] wrote:
Dear All,
I
it. That was the subject of the link I gave him.
--
T.J. Crowder
tj / crowder software / com
On Oct 29, 3:08 pm, Jarkko Laine [EMAIL PROTECTED] wrote:
On 29.10.2008, at 16.26, Jonathan Rosenberg wrote:
I'm still quite new to Prototype, but I think you're missing some
quotes in
your code
Thomas,
Some sample code and HTML would help immensely.
+1 for that. Thomas, if you can create a small, self-contained
example demonstrating the problem and post it to Pastie[1], I expect
folks will be able to help you figure out how to deal with the IE
problem.
[1] http://pastie.org
--
T.J
for a suggestion for how Prototype can help you work around
that?
Just clarifying.
Thanks,
--
T.J. Crowder
tj / crowder software / com
On Oct 30, 9:01 am, pradeep [EMAIL PROTECTED] wrote:
Hi,
i am using prototype js , i have become fan of it after using it
extensively,
i had one request for you.
while
Hi,
Just put 'class' in quotes, it's a reserved word in JScript. The
example in the docs[1] has it in quotes for that reason, I suspect.
[1] http://www.prototypejs.org/api/element
HTH,
--
T.J. Crowder
tj / crowder software / com
On Oct 30, 3:49 pm, Brandon [EMAIL PROTECTED] wrote:
Internet
on the other...
-- T.J. :-)
On Oct 31, 2:56 am, kangax [EMAIL PROTECTED] wrote:
On Oct 30, 2:30 am, T.J. Crowder [EMAIL PROTECTED] wrote:
The lost context is easily fixed:
sendState(email, $F('save-comments'),
sph.fire.bind(sph).curry(doneEvent));
bind() accepts additional
1 - 100 of 1270 matches
Mail list logo