您已选择:
if(isset($_GET['id']))
{
$id=$_GET['id'];
echo $id;
if($id=='aa')
{
echo "裤子";
}
else
{
echo "不是裤子";
}
}
?>
<script> <br /> $(document).ready(function () { <br /> $(".divSmall").click(function () { <br /> var isAlreadyHave = false; <br /> var thisID = $(this).attr("id"); <br /> var classType = $(this).attr("rel") <br /> $(".divSmall2").each(function () { <br /> if ($(this).attr("rel") == thisID) { <br /> isAlreadyHave = true; <br /> } <br /> if ($(this).attr("ttype") == classType) { <br /> goBegin($(this).attr("rel")); <br /> $(this).remove(); <br /> } <br /> }); <br /> if (!isAlreadyHave) { <br /> $(this).css("background-color", "#FFA500"); <br /> writeDiv($(this).html(), $(this).attr("id"), $(this).attr("rel")); <br /> } <br /> }); <br /> $(".image").live('click', function () { <br /> goBegin($(this).parent().attr("rel")); <br /> $(this).parent().remove(); <br /> }); <br /> }); <br /> //输出一个div <br /> function writeDiv(name, id, classONE) { <br /> // var divShow = "<div class='divSmall2' id='"+id+"' href='"+href+"' rel='" + id + "' ttype='"+ classONE+"'>" + name + "<img src='image/close.gif' class='image' / alt="php筛选问题,求思路,求指导" ></script>