jquery - ZeroClipboard works in one IE page but not works in another -


i using zeroclipboard copy link text clipoboard clicking on image button in mvc applicaition. on first page

html

<a  id="publink" href="somelink" target="_blank">somelink</a> <button id="copy-button" data-clipboard-target="publink" class="image-button"></button> 

javascript

var clip = new zeroclipboard(document.getelementbyid("copy-button"), {                 moviepath:url + "/content/swf/zeroclipboard.swf"             });  clip.on('load', function (client) {  alert( "movie loaded" ); }); 

the same markup , javascript loaded on page - two.cshtml.

but when trying copy link text in page two.cshtml page hangs time , many javascript errors stack overflow:

script28: out of stack space  jquery-1.8.2.js, line 4027 character 2 script2343: stack overflow @ line: 4027  

and

jquery-1.8.2.js, line 2282 character 4 script2343: stack overflow @ line: 2282  script28: out of stack space 

this 2 page works fime on crome , ff, not page two.cshtml in ie9 maybe solve problem?

thanks in advance.


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -