6.18-6.19

來源:互聯網
上載者:User

2013年6月18日星期二

http://blog.csdn.net/mazhaojuan/article/details/7757554              可編輯表格

http://blog.csdn.net/is668com/article/details/8773973  失去焦點後,恢複

修改h3標題顯示的內容 http://www.myexception.cn/javascript/241709.html

http://www.zhengdafangchan.cn/reg2.aspx?reg=true     個人註冊介面

2013年6月19日星期三

select 既支援下拉選擇也支援手動http://www.100xue.cn/web/web_1171665514.html

<selectname="c_cpu" >

    <optionvalue="1">1</option>

    <option value="2"selected>2</option>

    <optionvalue="3">3</option>

    <optionvalue="4">4</option>

  </select>

 

  <input name="c_cpua"type="text" ></TD>

 

 

  <input name="textAndSelect"type="text" style="display:none"onChange='c_cpua.value=c_cpu.options[c_cpu.selectedIndex].value'>

   <SCRIPTLANGUAGE="JavaScript">

  <!--

  function textAndSelect(text,select){

  var t=document.all[text];

  var s=document.all[select];

  var ts=document.all['textAndSelect'];

  t.value=s.options[s.selectedIndex].value;

  s.onchange=ts.onchange;

  s.style.position='absolute';

  s.style.width="150px";

  s.style.height="20px";

  s.style.clip='rect(0 180 110 130)';

  t.style.top=s.style.top;

  t.style.position='absolute';

  t.style.width="149px";

  t.style.height="22px";

 

  }

  textAndSelect('c_cpua','c_cpu');

  //-->

  </SCRIPT>

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.