<script>
function test()
{
alert('调用到了');
}
</script><?php
echo "<script>test();</script>";
?>这样是可以调用,问题是我现在不想让它echo出来,有其他方法吗,大侠们
function test()
{
alert('调用到了');
}
</script><?php
echo "<script>test();</script>";
?>这样是可以调用,问题是我现在不想让它echo出来,有其他方法吗,大侠们
function test()
{
alert('调用到了');
}
</script><?php if(1):?>
<script>test();</script>
<?php endif;?>