0
모든 해결책을 찾았지만, 여전히 이것을 파악할 수 없습니다. 내가 이미지를 클릭하면잡히지 않은 ReferenceError : 할당에서 왼쪽이 유효하지 않습니다. 링크를 클릭 할 때
<td align="center">
<?php if($dt->key_status === 1){ ?>
<a href="javascript:;" title="Return Key" onClick="index.php?mod=form&act=abkrk&vid=<?=$dt->vehicle_id?>"><img src="images/icons/returnkey.png" alt="Return Key" width="16" height="16" border="0" /></a>
<?php }else{ ?>
<a href="javascript:;" title="Get Key" onClick="index.php?mod=form&act=abkgk&vid=<?=$dt->vehicle_id?>"><img src="images/icons/getkey.png" alt="Get Key" width="16" height="16" border="0" /></a>
<?php } ?>
</td>
, 나는이 오류가 점점 계속 :
index.php?view=tr&sm=abk:321 Uncaught ReferenceError: Invalid left-hand side in assignment
의 사용 가능한 복제 [catch되지 않은 ReferenceError가 : 할당에 잘못된 왼쪽 (http://stackoverflow.com/questions/1945302/uncaught-referenceerror - invalid-left-hand-side-in-assignment) –
해당 게시물과의 유사성이 없습니다. 내 코드는 함수에 어떤 값도 할당하지 않습니다. –
아아아, 알 겠어. 나는 링크를'href'로 옮겼고 지금은 작동합니다. 고마워요! –