---
title: "JS 收集"
author: "bd2007"
date: "2011-08-10T16:43:24Z"
tags: []
slug: "js"
draft: false
lastmod: "2011-08-10T16:43:24Z"
id: 1144834
url: "https://bd2007.iteye.com/blog/1144834"
---

//判读一个对象是否存在
if(<span style="color: #ff0000;">document.getelementbyid("ytlx")</span>){}else{}