难道不可能在一页(在线)的中间进行 j?
我试图在“压力”模板中操作这一守则。
<script type="text/javascript">
jQuery(document).ready( function() {
jQuery(".upb_row_bg").css("filter","blur(30px)");
});
</script>
However it seems to have no affect on the element in question. In fact if cannot even select the element - console.log( jQuery(".upb_row_bg).length; shows 0.
如果在“快乐”一词功能之后,我把同样的代码放在封闭的标签之前,它就发挥了作用。 如果我把它放在脚步之前,那就没有了。
任何想法? 我在另一个网页上有另一个文字,我能够使用由文字过滤产生的简单的在线文字......
<script>jQuery( "figure" ).replaceWith( "<div class=”new-class”>” + jQuery( "figure" ).html() + "</div>" );</script>
This works as expected even though with this snippet there is no event to trigger it, it just runs and replaced the preceding element. So inline scripts must work.
我感到困惑。