开发者

Drag and drop fail when called via ajax

开发者 https://www.devze.com 2023-04-02 03:31 出处:网络
I have two pages with the similar codes. One is here http://183.78.169.53/tm/addTyreSwap1.php in this page you have select the vehicle via the drop down list then a number 开发者_开发问答of tyre will

I have two pages with the similar codes. One is here http://183.78.169.53/tm/addTyreSwap1.php in this page you have select the vehicle via the drop down list then a number 开发者_开发问答of tyre will appear via the ajax call. The problem is that both the draggable and droppable is attached to it but is not working. On the other hand I have another page http://183.78.169.53/tm/getTyreLayoutDetails1.php?l=3 here which directly generate the tyre layout and both drag n drop works perfects fine. Both are using the same codes. Only one is via ajax. Any idea why it fails in ajax?


you are not using the same code in both the cases in the second case you have <span class="droppable ui-droppable"> where as in the first case you have <span class="droppable">

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号