没有合适的资源?快使用搜索试试~ 我知道了~
Ajax-Development-Tools.pdf
需积分: 0 8 下载量 17 浏览量
2008-08-02
13:30:50
上传
评论
收藏 1002KB PDF 举报
温馨提示
试读
16页
Ajax-Development-Tools.pdf
资源详情
资源评论
资源推荐
© 2008 Marty Hall
Customized Java EE Training: http://courses.coreservlets.com/
Servlets, JSP, Struts, JSF/MyFaces/Facelets, Ajax, GWT, Java 5 or 6, etc. Spring/Hibernate coming soon.
Developed and taught by well-known author and developer. At public venues or onsite at your location.
Ajax: Development
and Debugging Tools
Originals of Slides and Source Code for Examples:
http://courses.coreservlets.com/Course-Materials/ajax.html
© 2008 Marty Hall
Customized Java EE Training: http://courses.coreservlets.com/
Servlets, JSP, Struts, JSF/MyFaces/Facelets, Ajax, GWT, Java 5 or 6, etc. Spring/Hibernate coming soon.
Developed and taught by well-known author and developer. At public venues or onsite at your location.
For live Ajax & GWT training, see training
courses at http://courses.coreservlets.com/.
Taught by the author of Core Servlets and JSP, More
Servlets and JSP, and this tutorial. Available at
public venues, or customized versions can be held
on-site at your
organization.
• Courses developed and taught by Marty Hall
– Java 5, Java 6, intermediate/beginning servlets/JSP, advanced servlets/JSP, Struts, JSF, Ajax, GWT, custom mix of topics
• Courses developed and taught by coreservlets.com experts (edited by Marty)
– Spring, Hibernate, EJB3, Ruby/Rails
Contact hall@coreservlets com for details
4
Java EE trainin
g
: htt
p
://courses.coreservlets.com
Topics in This Section
• Tools for debugging Ajax
• Tools for debugging JavaScript
• Tools for building Ajax-based Web apps
• Tools for developing xhtml
• Tools for building and previewing
style sheets
• Tools for validating xhtml
5
Java EE trainin
g
: htt
p
://courses.coreservlets.com
Debugging Ajax Pages: Firebug
• Capabilities
– Debugs JavaScript
– Shows DOM (including dynamic values)
– Shows CSS
– Much more. Very highly recommended.
• Download site
– http://www.getfirebug.com/
• Cost
– Free
6
Java EE trainin
g
: htt
p
://courses.coreservlets.com
Firebug Example
• .innerHTML example: before button press
7
Java EE trainin
g
: htt
p
://courses.coreservlets.com
Firebug Example
• .innerHTML example: after button press
8
Java EE trainin
g
: htt
p
://courses.coreservlets.com
Firebug Logging
• Firebug has a method called console.log
that lets you use printf-like formatting to
trace execution
– Also console.debug, console.info, console.warn, and
console.error (same except for icon/color of printout)
• Problem
– It crashes in IE, so you cannot leave in debugging
statements when testing on multiple browsers
• Solution
– Put in dummy console.log function for IE
• See next page, but note that this code is already in my
ajax-basics.js file
– Download from link on first page of this tutorial
9
Java EE trainin
g
: htt
p
://courses.coreservlets.com
Firebug Logging: Trick for IE
// Trick so that the Firebug console.log function will
// be ignored (instead of crashing) in Internet Explorer.
// Also see Firebug Lite and Faux Console if you want
// logging to actually do something on IE.
// Firebug Lite: http://www.getfirebug.com/lite.html
// Faux Console: http://icant.co.uk/sandbox/fauxconsole/
try { console.log("Loading script");
} catch(e) { console = { log: function() {} }; }
剩余15页未读,继续阅读
baoguoding
- 粉丝: 13
- 资源: 166
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于opencv+yolov8实现目标追踪及驻留时长统计源码.zip
- 水稻病害基于Yolov8算法优化目标检测识别与AI辅助决策python源码+模型+使用说明.zip
- 海尔618算价表_七海5.20_16.00xlsx(1)(2).xlsx
- WebCrawler.scr
- 【计算机专业毕业设计】大学生就业信息管理系统设计源码.zip
- YOLO 数据集:8种路面缺陷病害检测【包含划分好的数据集、类别class文件、数据可视化脚本】
- JAVA实现Modbus RTU或Modbus TCPIP案例.zip
- 基于YOLOv8的FPS TPS AI自动锁定源码+使用步骤说明.zip
- JAVA实现Modbus RTU或Modbus TCPIP案例.zip
- 基于yolov8+streamlit的火灾检测部署源码+模型.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0