$(function(){ var str = window.location.href.split("/"); var result = ""; var pattern = /^\d{8}$/g; result = str[4].match(pattern); if (result == null){ $('#pulldown_cd').html("