【发布时间】:2018-05-04 13:44:11
【问题描述】:
我正在使用 jQuery 获取主标题部分,但我想在标题末尾添加一些自定义文本。我几乎确信我把撇号弄乱了,但我不知道在哪里。
我要添加的文字是“CUSTOM SHARE TEXT”。
这是我卡住的地方:
<a href="#" onclick="window.open('http://www.linkedin.com/shareArticle?mini=true&url=' + jQuery('.active-review').attr('href') + '&title=' + jQuery('.active-review .head-container').text() + 'CUSTOM SHARE TEXT', '', '_blank, width=500, height=500, resizable=yes, scrollbars=yes'); return false;">
<i class="fa fa-fw fa-linkedin"></i> LinkedIn</a>
感谢您的帮助。
【问题讨论】: