问题描述
你好,谁能帮我,下面的代码用于搜索按钮,但是它只是检索我写的内容,如果有一个名为“ Mercedes”的单词,而我在搜索框中写“ Mer”,它将不会检索它,可以我在Java Script上使用“ like”运算符?还是Java脚本上的任何功能都一样?
<!-- Match errors -->
<xsl:template match="text()[matches(.,'\s[.,:;?!]')]"
mode="look-for-bad-punctuation" priority="5">
<bad-punctuation-found/>
</xsl:template>
<!-- Match unchecked elements -->
<xsl:template match="screen/text() | command/text()"
mode="look-for-bad-punctuation" priority="6">
<xsl:copy-of select="."/>
</xsl:template>
<!-- Match elements with no error -->
<xsl:template match="text()"
mode="look-for-bad-punctuation" priority="4">
<xsl:copy-of select="."/>
</xsl:template>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)