[Proto-Scripty] Ajax.Request - onComplete(response, possible second arg?)

2010-05-03 Thread Yaz
Hi all, I've have been working with a *lot* of javascript code, all done in prototype 1.5. The company I work for, has decided to upgrade prototype libraries. So I have upgraded prototype and scriptaculous, and about 5 others. There have been some interesting issues, and mostly I've fixed (with n

[Proto-Scripty] Re: Ajax.Request - onComplete(response, possible second arg?)

2010-05-05 Thread Yaz
uestion is, is there a way to get the actual response on the second argument passed? (you know, without massive changes...). Also, any particular reason the header was sent? What is that useful for? Thanks again! -yaz On May 4, 6:31 am, "T.J. Crowder" wrote: > Hi, > > > The

[Proto-Scripty] Re: readAttribute problem

2010-05-10 Thread Yaz
You are trying to get the value of that tag, not an attribute. To do that, use these: $('tag'),getValue(); Or its shortcut: $F('tag'); http://api.prototypejs.org/dom/form/element/getvalue/ -yaz On May 10, 6:40 am, vtsuper wrote: > Dear sir, > > the following i

[Proto-Scripty] Re: readAttribute problem

2010-05-10 Thread Yaz
I can't believe something so simple would be so... unintuitive. Walter you're right. And I'm an idiot. :) -yaz On May 10, 11:10 am, Walter Lee Davis wrote: > Okay. $('tag').innerHTML.stripTags() will get you the inner text of   > the A tag in most browse

[Proto-Scripty] Ajax.InPlaceEditor forces a textarea on items with linebreaks even if parameter "rows" is set to 1

2010-05-25 Thread Yaz
Here's a test case. http://yazmedia.com/sandbox/inplaceeditor.php Happens in Firefox only, IE8 renders the single line element fine. Shouldn't the InPlaceEditor "rows" parameter override the auto- textarea feature? Using prototype 1.6 and scriptaculous 1.8.3 -yaz -

[Proto-Scripty] Re: Ajax.InPlaceEditor forces a textarea on items with linebreaks even if parameter "rows" is set to 1

2010-06-23 Thread Yaz
Can anyone confirm this? On May 25, 4:26 pm, Yaz wrote: > Here's a test case. > > http://yazmedia.com/sandbox/inplaceeditor.php > > Happens in Firefox only, IE8 renders the single line element fine. > > Shouldn't the InPlaceEditor "rows" parame