[jQuery] Why does my ajax function kill drag/drop?
I have Interface 1.2 Drag/Drop working. I can drag images (hardcoded)
from div id=theSearchResultImages to my dropable area just fine.
But when I try to add my ajax 'Search Photos By Tags' form which
populates images into div id=theSearchResultImages, I can no longer
drag and drop the images. Here's my form and ajax call:
<form action="/jsrpc/search_photos_by_tags" name="searchAlbumPhotos"
id="searchAlbumPhotos"
onsubmit='$.ajax({url: "/jsrpc/search_album_photos_by_tags",
data: $(this.elements).serialize(),
success: function(response){$
("#theSearchResultImages").html(response);},
dataType: "html"});
return false;' method="POST" />
<input type="text" name="tagname" value="" />
<input type="submit" name="submit" id="submit" value="+" />
</form>
Help will be greatly appreciated.
/dennis