Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
HTMLオプションタグのスタイルを設定しようとしましたが、失敗しました。私が発行したコードは次のとおりです。
String htmlString = <something inline styled>; $("#nombreFuenteLB > option[value^='" + "Helvetica" + "']").replaceWith(htmlString);
しかし、良いアイデアはありませんでしたか?
前もって感謝します、
要素をドキュメントに添付する必要があるものを選択する前に、selectが何かを返すかどうかをテストする必要があります。フィルタがどの要素とも一致しないことを確認してください。