0
/* * search input keywords */ if ($("#search_input").attr("value")+'' == ""){ var searchwords = $("#newword").attr("title"); $("#search_input").attr("style", "color:#a8a8a8;font-size:14px;"); $("#search_input").attr("value", searchwords); $("#search_input").click(function (){ if ($("#search_input").attr("style")+'' != "color:#000;font-size:14px;"){ $("#search_input").attr("value",""); } $("#search_input").attr("style", "color:#000;font-size:14px;"); }); } else { $("#search_input").attr("style", "color:#000;font-size:14px;"); } /* * init cart */ buyerInfo.init(); window.$car = new TTCart; $car.init();