Displaying 2 results from an estimated 2 matches for "aproducts".
Did you mean:
products
2008 May 29
4
Drag/Drop finding droppable's properties?
...want to get the width, height, top, and left of the
element that was dropped - is this possible? I have tried looking
around the sciptaculous wiki, but I can''t find a DOM for the
droppables, unless someone can point me in the right direction?
I am building the draggables as follows:
var aproducts = document.getElementsByClassName(''box'');
for (var i = 0; i < aproducts.length; i++) {
new Draggable(aproducts[i].id, {ghosting:false, revert:true,
onEnd:endItem})
}
Any help would be greatfully received,
Thanks,
James.
--~--~---------~--~----~------------~-------~--~--...
2005 Aug 15
0
RE: has_many_belongs_to_many insert issues [CLOSED]
Found the issue.
In the association table (categories.products) it is very important to
use lowercase column names.
I.e, product_id and category_id.
I had Product_id and Category_id in SQL....
Gildas
-----Original Message-----
From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Cherruel,