[英]Wait until loading content
I'm trying to load a table by jQuery load then zebra the table but the content of table is loaded but the zebra fails. 我正在尝试通过jQuery加载然后通过zebra加载表,但是加载了表的内容,但是zebra失败。 If the page is loaded and the table exists the zebra function works.
如果页面已加载且表存在,则zebra函数起作用。
$("#processTab").load("URL");
$(".Innertable tr:nth-child(even)").css("background-color", "#eee");
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.