No Javascript errors.
"thisClass" is just a pointer for the Javascript class that defines some related functions. It basically looks like this:
function fbClass()
{
this.dragFromParent = "";
thisClass = this;
this.initDragDrop = function() {
... the Javascript code from my code example above ...
}
}
I use "thisClass" because if I used "this" like this:
jQuery('.draggable').dragg
start: function(event, ui) {
this.dragFromParent = ....
}
});
then "this" would reference the DOM element being dragged, not the Javascript class, and this.dragFromParent would not be a correct reference.
Main Topics
Browse All Topics





by: ajitha75Posted on 2009-08-27 at 09:03:00ID: 25199773
Are you getting any Javascript error? what is the value of thisClass. where are you declaring it?
Thanks
Ajitha