gpt4 book ai didi

javascript - 在 $.post 函数中访问 $(this) ?

转载 作者:行者123 更新时间:2023-11-30 08:58:04 26 4
gpt4 key购买 nike

<分区>

我在帖子中的函数中访问 $(this) 时遇到了很多麻烦我只想根据响应删除对象类。

  $.post("url.php?"+theData, {}, function(response){  etc.....

使用静态#ID 效果很好,但我更愿意操纵 $this

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com