Home  >  Article  >  Web Front-end  >  The method of finding elements in iframe can pass parameters_jquery

The method of finding elements in iframe can pass parameters_jquery

WBOY
WBOYOriginal
2016-05-16 17:22:51820browse
Copy code The code is as follows:

//Find elements in iframe
function FindObject(ss) {
var o = null;
o = $(window.frames["main"].document).find("#" ss);
return o;
}
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