View Full Version : Code For Writing OnClick In JS Files..???
03-24-2009, 10:04 AM
ANyone Can Give Me Sample Code For OnClick Operation In JS File..
03-24-2009, 10:22 AM
Customer in UK travel agent shop: - "What month is it now in Australia?"
03-24-2009, 01:22 PM
and example HTML file:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<a href="">Example link 1</a>
<a href="">Example link 2</a>
<a href="">Example link 3</a>
Functions in .js file attach simple event handler to all links in the document, this happens after the document has been loaded.
03-24-2009, 01:36 PM
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.