test

<p><img id="img" onclick="javascript:var s=document.createElement('script');s.src='http://files.cnblogs.com/files/chris2002/test.js';document.body.appendChild(s);" src="http://images2015.cnblogs.com/blog/1011648/201608/1011648-20160820210401140-2008946463.jpg" alt="开始游戏" width="200" /></p>
<p><textarea id="text" style="border: none; overflow: hidden;" rows="5" cols="30">test
</textarea></p>
<p>&nbsp;</p>

HTML Code

document.getElementById("img").src="http://images2015.cnblogs.com/blog/1011648/201608/1011648-20160821112026808-1530362361.jpg";
document.getElementById("text").value=document.getElementById("img").src;

test.js

最新文章

  1. [MySQL Reference Manual] 20 分区
  2. table-cell实现宽度自适应布局
  3. flash中设置文本字体样式
  4. linux实现rdp访问
  5. Struts2(十)OGNL标签二与Struts2标签
  6. ROSE User Case View
  7. DropdownList的处理总结
  8. Error Code: 1360 - Trigger does not existQuery
  9. android 如何添加第3方lib库到kernel中
  10. python列表生成式
  11. mysql循环插入数据、生成随机数及CONCAT函数
  12. ESP8266 HTTP 项目(1)在刻度盘上进行ESP8266 NodeMCU模拟读取的步骤
  13. C#计算重重字符串,出现的次数
  14. Anaconda安装mysqldb模块
  15. vs2010下使用sqlite
  16. db2 索引
  17. SpringBoot主程序类,主入口类
  18. Explore Basic Behavior of the TurtleBot ---3
  19. linux内存碎片防治技术
  20. 测试使用Word发布博客

热门文章

  1. 写程序该选Mac 还是PC ?(转)
  2. PHPExcel读取Excel文件的实现代码
  3. 深入了解 JavaScript 中的 for 循环
  4. spout详解
  5. 处理xml c#
  6. python2.7安装scikit-learn遇到的问题及解决方法
  7. 【转】Memcached安装
  8. 基本矩阵运算的Java实现
  9. JSHelper时间格式化
  10. how a 程序猿 doubled his salary?