[Proto-Scripty] problem with Ajax.Updater and textareas in IE6

2008-09-30 Thread Matthew G
Problem: When using Ajax.Updater to set the content of a textarea, any newlines in the received content are not shown in IE6, but are shown in Opera, Firefox, Chrome. I think the reason is that Ajax.Updater is setting .innerHTML, not .value on the textarea. One can workaround by using

[Proto-Scripty] Documentation or E Book

2008-09-30 Thread Ankur
Hello, I am beginner of script.aculo.us. Does anybody have e book or any online reference book or API document of this like prototype. Please let me. Thanks, Ankur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Proto-Scripty] Prototype 1.6.0.3 is out

2008-09-30 Thread T.J. Crowder
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

[Proto-Scripty] Re: Prototype 1.6.0.3 is out

2008-09-30 Thread bluezehn
Is there a list of changes anywhere for what's fixed/new/changed etc? On Sep 30, 8:45 am, T.J. Crowder [EMAIL PROTECTED] wrote: 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

[Proto-Scripty] Re: problem: select-one and events

2008-09-30 Thread buda
You have definitively confused me - show how it would be right On 30 сент, 03:21, Tom [EMAIL PROTECTED] wrote: Custom events are built on top of the dataavailable event, so they behave just let any other standard bubbling event.   That means if you want to be able to catch the event you need

[Proto-Scripty] trigger a function inside onSuccess

2008-09-30 Thread revivedk
How would I do this? new Ajax.Request(element.href, { method: 'get', asynchronous: false, onSuccess: function(transport) { $('lbContent').update(transport.responseText);

[Proto-Scripty] Re: JSON for Novice

2008-09-30 Thread jason maina
onSuccess:function(response). response in this case *receives* the XHR object after which you can query the various methods/functions in it that are returned from the Ajax.Request eg response.responseText, response.responseJSON etc By the way response is just a variable name Hope this helped

[Proto-Scripty] Re: trigger a function inside onSuccess

2008-09-30 Thread T.J. Crowder
Hi, onSuccess: function(transport) { $('lbContent').update(transport.responseText); //display the lightbox alert('success!\n');

[Proto-Scripty] Re: trigger a function inside onSuccess

2008-09-30 Thread revivedk
that results in an error in chrome. the function works fine, and everything is triggered. BUT for some reason, it will only trigger on the first link on the page, all other links are ignored example at http://lightbox.wizzdev.dk so you can see what I mean.. just browse there in chrome. the first

[Proto-Scripty] Re: Prototype 1.6.0.3 is out

2008-09-30 Thread Tobie Langel
A full blog post is about to come. Best, Tobie On Sep 30, 10:32 am, Peter De Berdt [EMAIL PROTECTED] wrote: On 30 Sep 2008, at 10:19, bluezehn wrote: Is there a list of changes anywhere for what's fixed/new/changed etc? http://github.com/sstephenson/prototype/tree/master/CHANGELOG

[Proto-Scripty] Re: Prototype 1.6.0.3 is out

2008-09-30 Thread Posseidon
Its good to hear that something is going on with this Framework! I cant wait to test the new Version on my site!! Nice Greetz Posseidon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us

[Proto-Scripty] Re: Documentation or E Book

2008-09-30 Thread Christophe Porteneuve
Ankur a écrit : I am beginner of script.aculo.us. Does anybody have e book or any online reference book or API document of this like prototype. Please let me. Sure. The official website for Prototype, complete with API reference, at: http://prototypejs.org The official website for

[Proto-Scripty] Re: replace an anchor around a tablecell

2008-09-30 Thread josher565
The reason why I have an anchor around a td is because the client has specified to me they want to use one of these lightbox implementations. There's a bunch of unstandardized implementations out there, but they are quick and easy to use. For me, I'd prefer to use some form of prototype object

[Proto-Scripty] Re: replace an anchor around a tablecell

2008-09-30 Thread T.J. Crowder
Hi, The reason why I have an anchor around a td is because the client has specified to me they want to use one of these lightbox implementations. I'm not seeing why you need to put an anchor *around* the table cell to use lightbox. Echoing what Justin said: What's the real requirement, the

[Proto-Scripty] Re: problem with Ajax.Updater and textareas in IE6

2008-09-30 Thread Matthew G
Thanks for your explanation Walter. My problem was that I had expected the Updater to know whether to use .value or .innerHTML automagically. cheers, Matthew On Sep 30, 8:56 pm, Walter Lee Davis [EMAIL PROTECTED] wrote: No, it's not a bug. A Textarea is a form element, not a DIV or  

[Proto-Scripty] Re: Prototype 1.6.0.3 is out

2008-09-30 Thread Dan Dorman
On Tue, Sep 30, 2008 at 1:45 AM, T.J. Crowder [EMAIL PROTECTED] wrote: Tobie just told me that 1.6.0.3 is out: http://www.prototypejs.org/download Congrats and thanks to all of the contributors who did this work for us!! Yep! Awesome news, and I second the big thanks to all the devs. :D

[Proto-Scripty] Re: xml vs json

2008-09-30 Thread Eric
Jason, I agree with you that XML in prototype is kind of a pain since (among others): - getAttribute/setAttribute are not real functions on IE, preventing you to use them in Enumerable methods - Since it is not possible to extend nodes returned in responseXML, you cannot use here the convenient

[Proto-Scripty] Re: Does Prototype have a future?

2008-09-30 Thread Kevin King
I second the recommendation on the book. Excellent resource! --~--~-~--~~~---~--~~ 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

[Proto-Scripty] Re: trigger a function inside onSuccess

2008-09-30 Thread revivedk
I wouldn't know how. No errors are triggered (according to firefox) and i have NO idea how to debug javascript in chrome. On 30 Sep., 15:02, T.J. Crowder [EMAIL PROTECTED] wrote: BUT for some reason, it will only trigger on the first link on the page, all other links are ignored That

[Proto-Scripty] IE evalScript problem

2008-09-30 Thread Cristisor
Hi. I have a problem on IE related to the evalScript function. I make a request using the POST method to the server and the server returns a HTML page that I insert into the current page. The problem is that the returned HTML has a script inside and IE gives me a hard time about this. It works