JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WhethertheWeather</title>
<!--<link rel="stylesheet" type="text/css" href="demo/css/screen.css" media="all" />-->
<script src="http://www.adrianpelletier.com/mint/?js" type="text/javascript"></script>
<script type="text/javascript" src="demo/scripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="demo/scripts/jquery-ui-1.7.1.custom.min.js"></script>
<script type="text/javascript" src="demo/scripts/execute.js"></script>
<script>
// copy script in pane below back to here
</script>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body background="images/gradientsky.jpg">
<div id="weather">
<ul id="nav-reflection">
<form method="post" action="cloudy_name.php" id="myform">
<li class="button-color-1">
<a id="cloudy" class="weatherLink" href="http://www.tcnjart.com/christineaustin/whethertheweather/cloudy_name.php" title="My fancy link">
<img src="images/cloudybubble.png" width="211" height="180" align="left" />
</a>
</li>
<input type="hidden" name="weather" value="whatever">
</form>
</ul>
</div>
</body>
</html>
JavaScript
function showWeather(_Weather) {
//alert(Weather);
myform._Weather.value=Weather;
// alert(Weather);
// ._Weather
myform.submit();
}
$(document).ready(function () {
$('a.weatherLink').click(function (e) {
e.preventDefault();
//showWeather(this.id); // uncomment this
alert(this.id + ' logged to database'); // remove this
window.location.href = this.href;
return false;
});
});