0
내가캐치되지 않는 예외 개체 # <objectid>가있는 방법 'HTML'
캐치되지 않는 예외 개체 #의 displayusersearch2가있는 방법 'HTML'
코드는
<script src="../../javascript/jqueryfunctions.js" type="text/javascript"></script>
<script src="../../jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
function uid_id_search_change()
{
var search=document.getElementById('uid_id_search').value;
$.get('userdisplaypopup.php?id='+search,userset);
}
function userset(res)
{
('#displayusersearch2').html(res);
Uncaught TypeError: Object #displayusersearch2 has no method 'html'
}
</script>
<table width="600" border="0">
<tr>
<th scope="row"><font size="-1">Book Id</font></th>
<td><input type="text" value="1" id="bid_popup" /></td>
</tr>
<tr>
<th scope="row"><font size="-1">Book Name</font></th>
<td><input type="text" value="1" /></td>
</tr>
<tr>
<th scope="row"><font size="-1">Author</font></th>
<td><input type="text" value="1" /></td>
</tr>
<tr>
<th scope="row"><font size="-1">Publisher</font></th>
<td><input type="text" value="1" /></td>
</tr>
<tr>
<th scope="row">Search User</th>
<td><input type="text" id="uid_id_search" name="uid_id_search" onkeyup="uid_id_search_change();" />
<div id="displayusersearch2"></div></td>
</tr>
</table>
이다가 없습니다이 메시지를 얻고이 없습니다
div의 ID는 displayusersearch2입니다. 요청이 올바르게 전송 중입니다. 나는 응답을하려고하는 것은 사업부의 displayusersearch2