Py学习  »  Jquery

使用Jquery附加到所有href和src属性

jmurph91 • 3 年前 • 1393 次点击  

我需要将我的github存储库的名称附加到所有href和src属性的开头。感谢您的帮助。

<script>
  $(document).ready(function() {
    $(src).attr('src', '/Demo_App').each();
    $(href).attr('href', '/Demo_App').each();
});
</script>
Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/130153
 
1393 次点击  
文章 [ 2 ]  |  最新文章 3 年前