2つのテキストボックスがあります。
<input type="text" id="xxxxx_SearchBox_xxxxxx_InputBox">
<input type="text" id="xxxxx_xxxxxx_InputBox">
2番目のテキストボックスの値を取得するにはどうすればよいですか?xxxx
一定ではなく、常に変化するので、私はそれらに頼ることができません。
$("input[type='text'][id*='_InputBox']").val()
それは機能しますか?