On Apr 14, 3:11 pm, Doug Reeder wrote:
> I'd like to allow the user to select a file from his/her filesystem,
> and process it locally. Due to heightened security (or at least the
> semblance thereof) the value of a file input element is just the name
> of the file, not the full path, in
I'd like to allow the user to select a file from his/her filesystem,
and process it locally. Due to heightened security (or at least the
semblance thereof) the value of a file input element is just the name
of the file, not the full path, in many modern browsers, so the file
path can't be
Hi Todd,
It's worth sitting down and having a good solid read through the API
docs front to back. That's what I did when I started using
Prototype. It took about an hour, and it's saved me a huge amount of
time. (Actually, it's been long enough that I should probably go back
and do it again to
Hi,
Check out Event.observe[1] and the convenience alias for it,
Element#observe.[2]
It's worth having a good thorough read of the API docs[3], and here
are some further resources to check out:[4][5]
[1] http://prototypejs.org/api/event/observe
[2] http://prototypejs.org/api/element/observe
[3]
Hi Mikey,
> In this case, I'm just requesting a static, plain-text file. As such,
> it contains no headers as an HTML response would.
Not HTML headers, HTTP headers. Every HTTP response has headers,
regardless of the resource being requested. Your web server does this
for you. Say we have a
I noticed there doesn't appear to be any mechanism in place for
removing an element's storage, so I added this method. This is
important to do when deleting an element.
Element.addMethods( {
removeStorage: function(element) {
if (!(element = $(element))) return;
var uid;
if (eleme
This problem has been baffling me for the past 16 hours, and I cannot
find any solutions for this. I have a field that I am applying
Scriptaculous' InPlaceEditor (textarea) to. The filler for this field
is being drawn from a MySQL database using PHP. In Firefox v3 It will
pull the complete mess
Hi guys,
Thanks for the help. I've fixed my initial problem, but now I'm running
into an issue when I try to handle the 'click' of the the 'received' link.
Basically the page is always jumping to the top, and the click handler does
not seem to be correctly intercepting the click. The javascript
> This is a regression.
OK, that's good to hear.
> so `$A('one', 'two', 'three')`, as in your example, should
> produce - ['o', 'n', 'e'].
That doesn't seem right. In the past, it has always produced a 3-item
array out of the arguments, not the characters of the first argument.
Essentially beha
On Apr 13, 12:51 pm, mr_justin wrote:
> Trying out the RC2 and ran into some trouble with existing code
> working with the new version of prototype.
>
> Old code: $A('one', 'two', 'three')
>
> This no longer works and requires either to wrap the arguments in
> square brackets or use the $w() meth
T.J.,
Thanks for the rapid response!
In this case, I'm just requesting a static, plain-text file. As such,
it contains no headers as an HTML response would. Additionally, the
text in the response is never displayed by the browser; it's only
parsed into an array of JSON objects. Since this is
How add these methods in execution time with prototype?
--~--~-~--~~~---~--~~
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@googlegr
I've reviewed the source, and I agree--I'm wrong and TJ's right here.
Walter
On Apr 13, 2009, at 10:27 AM, T.J. Crowder wrote:
> Walter, I don't think that's correct.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
Trying out the RC2 and ran into some trouble with existing code
working with the new version of prototype.
Old code: $A('one', 'two', 'three')
This no longer works and requires either to wrap the arguments in
square brackets or use the $w() method. This change doesn't seem to be
documented, but
Hey Mikey,
I think the issue isn't the request headers, but rather the response
headers. Make sure your server is sending back the correct content
type. Firefox will take the server's word for it in terms of what is
coming back (HTML, XML, JSON, etc.),. For what you're doing, you
probably want
Howdy!
I'm attempting to use the Ajax.Request object to grab a text file for
parsing. In this context, the file is a *.properties file that
contains application constants that are parsed into properties and
associated values.
It works great, except for one, small problem with Mozilla. Whenever
Walter, I don't think that's correct.
The onSuccess callback is called when the XHR request has been fully
completed (all data received), not when data receipt begins (XHR
readyState 4, not XHR readyState 3). It's called only for successful
requests (200 <= HTTP response code < 300), and only if
onSuccess means about the same thing as a 200 header from the server.
"Yes", it says, "the content is here where you asked for it, and I've
sent it along your way. Hope you get it all eventually." onComplete,
on the other hand, means "Here's your content; I've verified that you
got all of
Yes, that was the work around I mentioned at the bottom of my post ;)
Thanks though.
On Apr 11, 3:24 am, Rippo wrote:
> mistype
>
> nsert(' ')
>
> On Apr 11, 8:23 am, Rippo wrote:
>
> > Have you tried insert(' ) instead of a [space]?
> > Thanks
> > Rippo
>
> > On Apr 11, 3:22 am, FigglesKoy wr
What is difference between ADO and RDO
--~--~-~--~~~---~--~~
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
To unsubscribe
What is difference between ADO and RDO
--~--~-~--~~~---~--~~
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
To unsubscribe
What is difference between ADO and RDO
--~--~-~--~~~---~--~~
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
To unsubscribe
What is difference between ADO and RDO
--~--~-~--~~~---~--~~
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
To unsubscribe
23 matches
Mail list logo