该代码位于@ http://www.iluvtrees.org/,我们正在尝试删除冒号(:)...
jQuery('#events-calendar-list li a').text(this.text().replace(':', ''));
我正在远程执行此操作,并且能够使用此脚本获得一个更简单的字符串来工作。选择器中的难点,我们的html看起来是这样的……
...
<ul id="events-calendar-list">
<li id="events-calendar-list-630" title="
<strong>Title: </strong><b>#62 It's Little Things
</b><br />Check your fuel consumption and tire pressure to make sure your car is running as efficiently as possible.
<br /><strong>Start Time: </strong>12:00 am<br /><strong>End Time: </strong>12:00 am<br />">events=Object { mouseover=[1]}handle=function()
<a href="http://www.iluvtrees.org/">
<strong style="display: none;">Thu 3/14/2013</strong>
: //<- - - this is what we are trying to remove - - - -
<b>#62 It's Little Things</b>
<br>
</a>
...
我目前无权访问 PHP 文件以从那里删除。