Javascript blocked in a (non-ajax) window
|
|
Hi, The following simple javascript seems to be blocked from working when it appears in a normal UI window.
<a href="#" onclick='document.getElementById("gallery-left-arrow").style.display="block";document.getElementById("gallery-right-arrow").style.display="none";document.getElementById("gallery-thumbs").style.paddingLeft="0px";'>Test</a>
If I run the same code in a normal non ui window and it works fine. It’s not an ajax page (just a hidden div), but I’ve tried ‘evalScripts:true’ all the same with no luck. Help! |