Weblog
Monday, 10 November 2008
-
JavaScript Events Common in Ajax
JavaScript Events Common in Ajax
Event Occurs When . . .
- onabort — Occurs when the user aborts an action
- onblur – Occurs when an element loses the input focus
- onchange – Occurs when data in a control, such as a text field, changes
- onclick – Occurs when the user clicks an element
- ondblclick – Occurs when the user double-clicks an element
- ondragdrop – Occurs when the user drags and drops an element
- onerror – Occurs when there’s been a JavaScript error
- onfocus – Occurs when an element gets the focus
- onkeydown – Occurs when the user presses down on a key
- onkeypress – Occurs when the user presses a key
- onkeyup – Occurs when the user releases a key
- onload – Occurs when the page loads
- onmousedown – Occurs when the user presses down a mouse button
- onmousemove – Occurs when the user moves the mouse
- onmouseout – Occurs when the user moves the cursor away from an element
- onmouseover – Occurs when the user moves the cursor over an element
- onmouseup – Occurs when the user releases a mouse button
- onreset – Occurs when the user clicks a Reset button
- onresize – Occurs when the user resizes an element or page
- onsubmit – Occurs when the user clicks a Submit button
- onunload – Occurs when the browser unloads a page and moves to another page
Sunday, 09 November 2008
-
Visit our Store!
Suddenly finding ourselves Busy, we promise to resume our journey from Genesis to Revelation in 2009.
Till then, please visit our Store.
This page will refresh in a few seconds. to go there now, click on Store.
Thanks for dropping by.
The Store can be found here at this URL - http://tyndalebookstore.com/Store/
Thursday, 06 November 2008
-
Javascript Format Example
<html>
<head>
<title>our javascript example page</title>
<script language=”javascript”>
document.write(“JavaScript is cool”);
</script>
</head>
<body>
<h1>our example script in a header tag</h1>
</body>
</html>
Wednesday, 05 November 2008
-
JavaScript - example, methods and properties.
as some of you might know this is what it looks like when you view the source — the javascript would be the code in between these two <script> tags.
<script language=”javascript”>
.
.
.
</script>
Object Methods
document.write: displays the text to the current webpage.
history.go: navigation of the web browser to a location in the browser’s history. ie. back, next, refresh
window.open: opens (file, request) in a new browser window.
Properties
document.title: Title of the current page. (this is pretty important)
document.bgcolor: Background color of the current page. (good idea)
document.fgcolor: Foreground color of the current page. (good idea)
document.lastmodified: Date the page was last modified. (wonder why we need this)
Sunday, 02 November 2008
-
Kindle Edition - Beginning Ajax with PHP: From Novice to Professional
the book we reviewed yesterday has a Kindle version too — check it out.

Beginning Ajax with PHP: From Novice to Professional (Kindle Edition)
Author: Lee Babin
List Price: $34.99 Kindle: $20.78 & includes wireless delivery via Amazon Whispernet Save: $14.21 (41% Ajax breathes new life into web applications by transparently communicating and manipulating data in conjunction with a server-based technology. Of all the server-based technologies capable of working in conjunction with Ajax, perhaps none are more suitable than PHP, the world’s most popular scripting language.
Beginning Ajax with PHP: From Novice to Professional is the first book to introduce how these two popular technologies can work together to create next-generation applications. Author Lee Babin covers what you commonly encounter in daily web application development tasks, and shows you how to build PHP/AJAX-enabled solutions for forms validation, file upload monitoring, database-driven information display and manipulation, web services, Google Maps integration, and more. Youll learn how to
- Take advantage of PHP and advanced JavaScript capabilities to create next-generation, highly responsive Web applications.
- Enhance commonplace application tasks such as forms validation and tabular data display.
- Manage cross-browser issues, ensuring your applications run on all major Web browsers.
- Take advantage of the Google Maps API and add spatial mapping features to your website.
Youll also be introduced to other key topics like conquering cross-platform issues, countering potential security holes, and testing and debugging JavaScript with efficiency. All examples are based on real-world scenarios, so youll be able to apply what you learn to your own development situations.
About the Author
Lee Babin is a programmer based in Calgary, Alberta, Canada, where he serves as the Chief Programmer for an innovative development firm duly named The Code Shoppe. He has been developing complex web driven applications since his graduation from DeVry University in early 2002 and has since worked on over 50 custom websites and online applications. Lee is married to a beautiful woman by the name of Dianne, who supports him in his rather full yet rewarding work schedule. He enjoys video games, working out, martial arts, and traveling, and can usually be found working online on one of his many fun web projects at any given time.While Lee has experience in a multitude of web programming languages, his preference has always been PHP. With the release of PHP 5, many of his wishes have been fulfilled.


