如何為@input撰寫XPath運算式。我正在嘗試這個
運算式:
//input[@input='onSearchInput'/span>]。
未找到此運算式。
HTML輸入標簽:
< input type="text"/span> class="input" @input="onSearchInput" placeholder="word search" style=">
uj5u.com熱心網友回復:
由于@中的@input字符,你的標記格式不正確。 如果您想使用基于XML的工具,如XPath,請洗掉@字符。
另請參閱at-sign(@)是有效的HTML/XML標簽字符嗎?
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/307723.html
標籤:
