Search Results

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: kanaku ; Forum: JavaScript / DHTML / AJAX and child forums
Forum: JavaScript / DHTML / AJAX Jan 2nd, 2009
Replies: 3
Views: 3,758
Posted By kanaku
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
Posted By kanaku
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
Posted By kanaku
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
Posted By kanaku
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
Posted By kanaku
Perhaps you wanted something like this:

<html>
<head>
<script type="text/javascript">
function check()
{
var o = document.getElementById('addyes');
var t = document.getElementById('addno');
Showing results 1 to 5 of 5

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC