search for: addproduct

Displaying 2 results from an estimated 2 matches for "addproduct".

Did you mean: add_product
2006 Jul 03
6
Rjs $("aaa").insertHtml is not a function error
...#39;ve searched the list and found that someone had the same problem as me http://lists.rubyonrails.org/pipermail/rails/2006-May/043760.html I''m have in my page a link like this <%= link_to_remote ("Add #{image_tag(''add.png'')}",:url=>{:action=>''addProduct''})%> and in my controller def addProduct .................. render :update do |page| page[:productsTable].insert_html :partial=>"entryProduct" page.visual_effect :highlight,'':productsTable'' end end entryProduct partial is in _en...
2007 Jan 25
0
performance problem with many droppables
...I started to write an AJAX Scrabble (TM) as my first script.aculo.us app. I have the 225 fields in a table and then make them droppable using var fields = document.getElementsByClassName(''field''); for (var i = 0; i < fields.length; i++) { Droppables.add(fields[i], {onDrop:addProduct}) } Unfortunately, dragging one of the 6 "letters" is incredibly slow (for fewer fields it isn''t). Online at http://daduke.org/scrabble/ my newb questions are: - is there a way to make it faster or - is the script.aculo.us framework not suitable for something like this? thank...