This is the node captured by the js you are currently executing. In this way, you can capture the id, name or tag name in js without writing methods such as document.getElement, saving some trouble. Usually obj is used instead.
<script> <br>function nullCheck(obj) <br>{ <br>...... //Write the code for the function you need here <br>} <br></script>
function clickAgenter(obj){ if($(obj).attr("checked")=="checked"){ $ ("[name='agentType']").removeAttr("checked");//Cancel all selections $(obj).attr("checked","checked") } }
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn