js参数问题
innerHTML="<input type=\"button\" name=\"goreg\" value=\"继续\"onclick=\"location.href='<?php echo site_url('client/cli_loader/insuretype2/'+select+'');?>'\" />";上面的select是函数insuretype2的参数,为什么这么写不行? 你把select写到PHP当中了放到<?php ... ?> 外面 晕,<?php 还能这么写进去,服了,呵呵。 低级错误。。:L :lol 哈哈
页:
[1]