Displaying 2 results from an estimated 2 matches for "aproduct".
Did you mean:
product
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]
..., products,
categories_products).
NOTE: I AM USING MICROSOFT SQL SERVER -- that might be the source of my
issues...
All my ids are int identity(1, 1) not null in SQL. I quit using
uniqueidentifier as Rails gets very confused.
I cannot add a Product<->Category relationship via Rails, like:
aProduct = Product.find(41234)
P.categories << aCategory
It throws an exception coming from SQL:
Execute
OLE error code:80040E14 in Microsoft OLE DB Provider for SQL Server
Line 1: Incorrect syntax near '')''.
HRESULT error code:0x80020009
Exception occurred.: INS...