search for: item_added

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

2006 Apr 12
1
Dynamically updating list
...ew("Feed cat") new("Wash car") new("Sell start-up to Google") end 3)now i make two template 1)index.rhtml 2)_item.rhtml and the template code of index.rhtml is My To Do List ******************************* the code for partial template _item.rhtml is function item_added() { var item = $(''items'').firstChild; new Effect.Highlight(item); Element.hide(''busy''); $(''form-submit-button'').disabled = false; $(''item-body-field'').value = ''''; Field.focus(''item-body-field''...
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 Jan 23
16
Adding form fields (extending a form) on the fly
Hello, I just can''t seem to find a way to extend a form dynamically in ROR. Say I am writing a recipe website. There is one form to enter the recipe. There is room for N number of ingredients (let''s say a text field for each ingredient name and selection list for the amount). What if the user wants to add more than N ingredients as he types them in? how do I do this without
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