zoukankan      html  css  js  c++  java
  • asp 中response.write

     在asp中,response.write("hello ,word")
                  response.write"hello ,word"   '这两种效果一样
                  response.write 1+2    '输出结果为3
                  response.write (1+2)       '输出结果为3

    另外,可以有更复杂的控制。
    如下:
        response.Write("<div align='center'>"+"<font color=red>"+"修改成功!"+"</font>"+"</div>")
      '这是将html的代码混合在一起写,注意平时<div align="center">,在这里要写成<div align='center'>,否则编译错误。
     
      response.write 和javascript结合使用:
     response.write("<script>alert('修改成功')</script>")
  • 相关阅读:
    迭代模型
    螺旋模型
    瀑布模型
    V模型
    codeforces411div.2
    专题1:记忆化搜索/DAG问题/基础动态规划
    Python
    字符串的相关操作方法
    Python基本数据类型
    编码
  • 原文地址:https://www.cnblogs.com/liuzhengliang/p/1213104.html
Copyright © 2011-2022 走看看