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.
ここで私のコードを見ることができます:
$('input[type=submit]').bind('click', function(e){ e.preventDefault(); console.log('ok'); });
初めて送信ボタンをクリックすると、コンソールに「OK」と表示されるので問題ありません。
しかし、もう一度クリックすると、コンソールに「OK」というテキストが表示されません。
あなたはなにか考えはありますか ?ありがとう !
DOMXPathを使用して実行できますが、DOMDocumentのみを使用して実行したいと思います。
私は次のようなことを試みました
$dom->getElementsByTagName('yweather:condition') //or $dom