-6
我想過濾一個元素列表及其標題屬性。多重過濾
<img name="chrome_brillant" title="chrome brillant" src=#">
<img name="chrome_brillant" title="chrome red mat" src=#">
<img name="chrome_brillant" title="chrome jaune" src=#">
使用搜索字段(文本輸入),我可以在title屬性中查找關鍵字。
但我會找到第二項,以「紅色鉻」作爲輸入,並隱藏所有其他項目?
謝謝, Jérémie。
你應該解釋更多你的問題,還包括你的代碼。添加一個JSFiddle來檢查你的問題會很好。 –
我編輯了我的問題 –