<script language=javascript>
function mobiletelephone_delete(id,dd1,dd2)
{
alert(dd1);
alert(dd2);
if(confirm( "您确认要删除此分类! "))
{
alert(location.href= "mobiletelephone_delete.php?id= "+id+ "&dd1= "+dd1+ "&dd2= "+dd2);
}
}
mobiletelephone_delete(2,2007-01-01,2007-01-31);
</script>
------解决方案--------------------
认为是计算了~~
2007-01-01=2007-1-1
2007-01-31=2007-1-31
要被认为为字符
加引号