以下を試すことができます。
サンプルソースコード
<div>
<input id="textbox1" type="text"/>
</div>
<input type="text" id="textbox2"/>
デモ
var
$textarea = $('#TextArea1'),
$submit = $('#Submit1');
// Apply test input
$textarea.val('<div><input id="textbox1" type="text"/></div><input type="text" id="textbox2"/>');
$submit.click(function(e) {
e.preventDefault();
sourceCode = $textarea.val();
// Create jQuery object to insert and search the source code (from the textarea)
var $searchObject = $('<div id="searchThis"></div>');
// Append the source code (converted to a jQuery object)
$searchObject.append($(sourceCode));
// Search the object for occurrence of type="text" inputs
alert($searchObject.find('[type=text]').length);
});
textarea {
width: 400px;
height: 300px;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div id="right_pane">
<textarea id="TextArea1"></textarea>
<input id="Submit1" type="submit" value="submit" />
</div>
:あなたは、サンプルのソースコードの入力を提供しなかったので、私は以下のサンプルソースコードでこれをテストしました
これまでに試みた。 – KiiroSora09
@ kiiroSora09 - 私はHTMLとasp.netを初めて使っています。私はまだ学習過程にあり、私は現在これを行う考えがありません。私は誰かがこれを学んで私を助けることができると思っていた。 –
テキストエリア内で「テキストボックス」と言うと...どういう意味ですか?あなたはint32にテイクできません – QoP