1

I'm trying to implement DargAndDrop notion in my project, developed in "Apriso Dassault Systemes" - but once project is loaded on a browser, there are no differences between this one and the one developed on ASP and other technos.

The this link shows that it's feasible (but I used mostly this code draggable) but when it comes to my project, I'm having a hard time achieving it on the following things :

  1. When item is draggable and when you try to drag it, only "not allowed" sign appears, you don't see your dragging element ;
  2. I can not bind events (onDragStart, OnDrop etc) via DOM, I have to pass via javascript, even this doesn't work for onDrop event ;
  3. onDragOver can't be bined and I have to use onDragStart where preventDefault() doesn't seem to be working, on hovering the same "not allowed" sign is shown ;

I would really appreciate your help in advance.

Alex McManns
  • 81
  • 2
  • 11

1 Answers1

0

For having working with Apriso, I suggest you to put your javascript/JQuery code related to the DOM or a library inside the window load event.

$(window).load(function() {
})

Or at least inside the

$(document).ready(function() {
})

if your code is related to DOM only.

barbsan
  • 3,418
  • 11
  • 21
  • 28