Forum: JavaScript / DHTML / AJAX Jan 2nd, 2009 |
| Replies: 3 Views: 3,758 Try this link. (http://www.peters1.dk/webtools/javascript/slideshow.php?sprog=en)
It's a copy-paste tutorial. :D |
Forum: JavaScript / DHTML / AJAX Jan 2nd, 2009 |
| Replies: 10 Views: 2,140 Here is how to check if an input field is empty (javascript code):
var email = document.getElementById('email').value;
if (email == undefined || email == '')
{
alert('Please enter an email... |
Forum: JavaScript / DHTML / AJAX Jan 2nd, 2009 |
| Replies: 10 Views: 2,140 Recall that you give a 'name' to a group of checkboxes/buttons in your html code like this. To easily loop through all the checkboxes, use the getElementsByName method. Here is a demo using... |
Forum: JavaScript / DHTML / AJAX Jan 1st, 2009 |
| Replies: 10 Views: 2,140 It wasn't clear the first time.
<html>
<head>
<script type="text/javascript">
function check()
{
var o = document.getElementById('addyes');
var t = document.getElementById('addno'); |
Forum: JavaScript / DHTML / AJAX Jan 1st, 2009 |
| Replies: 10 Views: 2,140 Perhaps you wanted something like this:
<html>
<head>
<script type="text/javascript">
function check()
{
var o = document.getElementById('addyes');
var t = document.getElementById('addno'); |