anello中文牌子叫什么:asp警告的弹出

来源:百度文库 编辑:中科新闻网 时间:2024/04/30 10:18:08
alert('musictype is m_type ')

m_type的值为5,怎么显示呢?

如果m_type是asp的变量,那么应该是:
alert('musictype is <%=m_type%>')

如果m_type是script里的变量,那么应该是:
alert('musictype is '+m_type)

同意楼上

同意!