JQuery draggable droppable compatibility issue with firefox and ie?

Well the problem here is incompatibilities between the DOM implementation in Firefox and IE. JQuery aims to let the developer avoid doing what you just had to do. Although I can't test out your code (because I don't have all the server-side business logic to populate the elements), you might want to try the following.

You basically just need to replace your DOM calls with jQuery's API. Here we go.

Well the problem here is incompatibilities between the DOM implementation in Firefox and IE. JQuery aims to let the developer avoid doing what you just had to do. Although I can't test out your code (because I don't have all the server-side business logic to populate the elements), you might want to try the following.

You basically just need to replace your DOM calls with jQuery's API. Here we go.... Replace: var id = ui. Draggable0.previousSibling.

InnerText; //returns null for FIREFOX if (id == null) { //FIREFOX works with this id = ui. Draggable0. PreviousElementSibling.

InnerHTML } with: var id = ui.draggable.prev().html(); More info on the jQuery API can be found here: jQuery API. Specifically, the prev() and html() calls come from the Traversing and Attributes respectively. I hope I could help!Stephen.

That works great Stephen. Thanks. – Kamal Nov 26 '09 at 7:23.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions