Search code examples
javascriptjquerydrag-and-droppage-jump

Jquery Drag and Drop problem, jump to a new page


I want to use Jquery to implement a page that contains js from quotemedia.com. After I embed the js into the sortable, when I drag and drop the element that contains the js, it jump to full page display.

This happens under Firefox, IE is ok.

The running code is here: http://jsfiddle.net/dodoflying/9BkJ5/ Please use firefox to drag and drop element shopping to see the problem.

Is is a bug under firefox? How could I solve this problem?

Thanks in advance!

Don


Solution

  • I just found it could be solved by using Jquery to remove the following javascript

    <script src="http://app.quotemedia.com/quotetools/miniCharts.go?webmasterId=93004&amp;symbol='.$symbol_chart.'&amp;toolWidth=660&amp;chhig=130&amp;chbg=ffffff&amp;chln=333333&amp;chgrd=D5DDE8&amp;chxyc=2B5286&amp;chtcol=2B5286&amp;chbgch=ffffff&amp;chbdr=2B5286&amp;chfill=ee5E739B&amp;chfill2=8BA9E0" type="text/javascript" language="javascript"></script>
    

    Under both Firefox and IE, it is ok.