search for: item_loading

Displaying 4 results from an estimated 4 matches for "item_loading".

2006 Apr 12
1
Dynamically updating list
...$(''items'').firstChild; new Effect.Highlight(item); Element.hide(''busy''); $(''form-submit-button'').disabled = false; $(''item-body-field'').value = ''''; Field.focus(''item-body-field''); } function item_loading() { $(''form-submit-button'').disabled = true; Element.show(''busy''); } ''item'', :collection => @items) %> { :action => "add_item" }, :update => "items", :position => :top, :loading => ''item_loadin...
2006 Apr 05
3
Issuing an ajax request to a different web server?
...the ajax server never gets the request. For example, inside a form: <%= submit_to_remote(''add_lead'',''Add Lead(s)'', :url => "http://123.456.789.0:3000/users/add_lead", :loading => ''item_loading()'') %> which generates the following html: <input name="add_lead" onclick="new Ajax.Request(''http://123.456.789.0:3000/users/add_lead'', {asynchronous:true, evalScripts:true, onLoading:function(request){item_loading()}, parameters:Form.serialize(...
2006 Apr 04
3
Keeping javascript in the <head>
Given that Rails has built in ways to do almost everything else :) , is there a way to keep view specific javascripts inside the head tag of a layout without having to include that javascript on every page? -- Marlon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060404/65e9bb6d/attachment.html
2006 May 25
13
.NET developer trying to understand some Rails basics
Hi All, I''ve been a ASP.NET developer for the last few years and consider it to be a pretty productive environment to work with. However, the object-relational mapping (ActiveRecord) and simplicity of the Rails framework and Ruby in general really appeals to me. .NET currently doesn''t have something like Rails'' ORM - atleast not out-of-the-box. Here''s my