[Proto-Scripty] Dynamic test after ajax call

2009-09-19 Thread Chris Sansom
At 05:21 -0700 19/9/09, T.J. Crowder wrote: >"View source" will only show you the original source of the document, >not any later modifications you make to the DOM (e.g., via >Ajax.Updater or any of several other means). Why does it matter? >What is it you're trying to achieve looking at the sour

[Proto-Scripty] Re: A better way to check for an element.

2009-09-19 Thread Radoslav Stankov
You can use something like my CD3.Behavior lib ( http://github.com/RStankov/controldepo-3-widgets/blob/master/src/behaviors.js ) CD3.Behaviors({'#element:click': yourClickHandler }); // -- or -- CD3.Behaviors('#element', function(){ this.observe('click', yourClickHandler); }); // -- or ... CD3

[Proto-Scripty] Dynamic test after ajax call

2009-09-19 Thread Kumar
Hi All - I am using prototype Ajax updater. The main intenntion of using updater is to show users a loading icon, but in background we are making a series webservice calls to wide variety of systems, then collabarate all the data to users at one go. The page loads and calls ajax updater. Updater

[Proto-Scripty] Re: Dynamic test after ajax call

2009-09-19 Thread T.J. Crowder
Hi, "View source" will only show you the original source of the document, not any later modifications you make to the DOM (e.g., via Ajax.Updater or any of several other means). Why does it matter? What is it you're trying to achieve looking at the source? If it's just that you're trying to deb

[Proto-Scripty] Cannot fetch disabled elements on hidden form

2009-09-19 Thread Emax
I recently tried upgrading to Prototype 1.6.1 from 1.5.1.1 but ran into the following issue. I have a page with a form split across two sections. The first section gets filled out by the user while the second one is hidden. Once a 'Done' button is clicked, the first section is replaced by the se

[Proto-Scripty] Ajax.Updater request in IE changes header attribute "Accept"

2009-09-19 Thread John Shen
I struggling with this one for more than a day now. Need help! I am working on a rails project, in which I submit the following in a form using onsubmit trigger: new Ajax.Updater('xxx', 'the_url_path', {asynchronous:true, evalScripts:true, parameters:Form.serialize(document.the_form)}); return

[Proto-Scripty] Re: Slightly off topic about CSS

2009-09-19 Thread Иван Генчев
tr.selected { background: url(/images/ArrowSelected.gif) no-repeat; background-color: #ffa; } tr.selected td { background-image: none; } On 19.9.2009 г. 05:52 ч., Russell Keith wrote: > > I have the following CSS class I am adding with Element.addClassName > > tr.select