[jQuery] Draggable Issue
I'm working on a little feature for one of my projects and Iv'e ran into a little JavaScript related issue. I know that the Eyecon's " Interface Draggables" is not a part of jQuery, but I'm hoping someone here has had the same issue. Pretty much when I start to drag an img element it disappears. I've tried replacing the img element with a div, setting the background to the img src, and width and height to that of the image. It appears to me that any element I use it disappears while dragging it. Could the possible issue be the fact that the draggable overflow in a parent container? You can view the site/issue with all my source here: http://65.40.119.15/labs/file/file.php?image=http://darren.wiinix.com/games/bleach/bleach_blade_00.jpg
[jQuery] Interface Draggable Issue
Not sure if this was posted last night when I tried to post it... I'm working on a little feature for one of my projects and I've ran into a little JavaScript related issue. I know that the Eyecon's " Interface Draggables" is not a part of jQuery, but I'm hoping someone here has had the same issue. Pretty much when I start to drag an img element it disappears. I've tried replacing the img element with a div, setting the background to the img src, and width and height to that of the image. It appears to me that any element I use disappears while dragging it. Could the possible issue be the fact that the draggable is overflow in a parent container? You can view the site/issue with all my source here: http://65.40.119.15/labs/file/file.php?image=http://darren.wiinix.com/games/bleach/bleach_blade_00.jpg
[jQuery] Ajax errors
I can't seem to figure out why this isn't working. request.php is working just fine. $(document).ready(function(){ $("input.search").keypress(function(){ $("select.make").removeAttr('disabled'); $("button.search").removeAttr('disabled'); }); $("select.make").each(function(i){ $(this).change(function(){ if($(this).val() > 0) { $.ajax({ type: "POST", url: "/request.php", data: "action=model_list&make_id=" + $(this).val(), dataType: "json", success: function(json) { $("select.model")[i].empty(); for(ii in json) { $("select.model")[i].append('' + json[ii]['name'] + ''); } }, error: function(object, msg) { alert(msg); }, complete: function() { $("select.model")[i].removeAttr('disabled'); } }); } }); }); }); I get an alert box with "error"...