zoukankan      html  css  js  c++  java
  • temp

    <html>

    <head>

    <title></title>

    <script type="text/javascript" src="jquery.js"></script>

    <script type="text/javascript">

    $(function() {

      $("#actionContainer").hide();

    });

    function createNews() {

      alert($("#newsTitle").val());

      $("#actionContainer").hide(200, function() {$("#linkContainer").show();});

    }

    function showCreateNewsAction() {

      $("#linkContainer").hide();

      $("#actionContainer").show();

    }

    </script>

    </head>

    <body>

    <div id="createNewsContainer">

    <table bgcolor="red">

      <tr>

        <td id="linkContainer">

          <a id="createNewsLink" href="#" onclick="showCreateNewsAction()">Click here to publish your photos</a>

        </td>

        <td id="actionContainer">

          <input type="text" id="newsTitle" value="a new photo 'xxx' has been uploaded" />

          <input type="button" id="btnCreateNews" value="Ok" onclick="createNews()" />

        </td>

      </tr>

    </table>

    </div>

    </body>

    </html>

  • 相关阅读:
    模型层
    视图层,模板层
    ORM表关系建立
    CMakeList入门
    C++标准模板库
    C++基本语法
    g++应用说明
    Linux快捷键
    Git 操作备忘
    Block的详细介绍
  • 原文地址:https://www.cnblogs.com/teamleader/p/2130015.html
Copyright © 2011-2022 走看看