<p id="targetDom" onclick="getCode()">图文校检</p>
$("#targetDom").trigger("click");