$(document).click(function (e) {
var v_id = $(e.target).attr('id');
}
$(e.target)
After getting the current element, you can get the tag name, name and other attributes you want to control the click. Which tag triggers the event
js to determine whether a string contains another string
"ssssddd".indexOf("ss")>0
Statement: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