Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两个选项卡作为 tab1 和 tab2,这两个调用相同的函数uploadfile()或相同的 url 那么当我们上传图像时如何刷新单个选项卡内容当我们上传图像时它会在关闭 div 之前自动添加到 div
uploadfile()
我相信这两个标签都有唯一的 ID。
$('#youRtabIDFor1').load(LoadSomeThingViaAjaxCall); $('#youRtabIDFor2').load(LoadSomeThingViaAjaxCall);