Forum: JavaScript / DHTML / AJAX Aug 31st, 2009 |
| Replies: 4 Views: 1,415 Hi,
here's a simple demonstration of installing events onto target elements':
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html... |
Forum: JavaScript / DHTML / AJAX Aug 10th, 2009 |
| Replies: 9 Views: 1,086 Hi jay,
here's a simple demo that converts all checked items, into an array of length, using a single hidden field:
startpage
<?xml version="1.0" encoding="UTF-8" standalone="no"?>... |
Forum: JavaScript / DHTML / AJAX Aug 8th, 2009 |
| Replies: 8 Views: 986 Hi beanryu,
i prepared some document sample for you, which you can used as referenced when you are mapping elements inside your document.
<?xml version="1.0" encoding="utf-8" standalone="no"?>... |
Forum: JavaScript / DHTML / AJAX Jul 29th, 2009 |
| Replies: 3 Views: 1,409 Here's a complete document sample:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<?xml-stylesheet type="text/css" href="#css21" media="screen"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML... |
Forum: JavaScript / DHTML / AJAX Jul 22nd, 2009 |
| Replies: 6 Views: 1,227 And here's the start page, along with the script that will generate our XML content:
main.html:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0... |
Forum: JavaScript / DHTML / AJAX Jul 21st, 2009 |
| Replies: 10 Views: 556 But the problem about this, is that the viewer( user ) can simply view the souce-code on their browser and thats it. Everything is wasted... |
Forum: JavaScript / DHTML / AJAX Jul 13th, 2009 |
| Replies: 6 Views: 1,227 It's either you can use plain stylesheet(css), XSLT(xsl) or Ajax/XMLDOM Parser's using javascript.
But here's a bit of example, formattimg its layout using XSLT, also try the XML section to get... |
Forum: JavaScript / DHTML / AJAX Jun 9th, 2009 |
| Replies: 2 Views: 655 You can try this demo:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<?xml-stylesheet type="text/css" href="#ccs21" media="all"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0... |
Forum: JavaScript / DHTML / AJAX Jun 9th, 2009 |
| Replies: 3 Views: 562 Try this first on the image that corresponds to your ajax call:
<img src='../images/loading.gif' style="display : block; width : auto; height : auto; margin : 0 auto;" /> |
Forum: JavaScript / DHTML / AJAX Jun 8th, 2009 |
| Replies: 2 Views: 423 I've shortened out your code and skipped some of the unecessary lines inside the two constructors.
You'll need to run this entire document, to see the actual effects of the two functions.
... |
Forum: JavaScript / DHTML / AJAX May 24th, 2009 |
| Replies: 12 Views: 839 Try this, it's your modified script.
<html>
<head>
<title>Test Page</title>
<script type="text/javascript">
<!--
// Keeping all the basic so that you can easily interpret all code lines..
... |
Forum: JavaScript / DHTML / AJAX May 23rd, 2009 |
| Replies: 6 Views: 687 Like this:
links[i].onclick = function() { getPage( this.href );
}; |
Forum: JavaScript / DHTML / AJAX May 13th, 2009 |
| Replies: 9 Views: 829 You can try this code -->
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html... |
Forum: JavaScript / DHTML / AJAX May 12th, 2009 |
| Replies: 2 Views: 810 This demo will evaluate all non-valid entries in the field!
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
... |
Forum: JavaScript / DHTML / AJAX Apr 28th, 2009 |
| Replies: 10 Views: 893 You can skip the editing, i've reformulated the code, as you suggested.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
... |
Forum: JavaScript / DHTML / AJAX Apr 26th, 2009 |
| Replies: 13 Views: 2,077 What's been bothering you about this script?
If you were just asking about this if ( txt.match( idx ) ) { // so...on... block--wel it simply say's
Hope it clears the issue. |
Forum: JavaScript / DHTML / AJAX Apr 25th, 2009 |
| Replies: 2 Views: 1,174 Here's a simple demo, to get you started.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">... |
Forum: JavaScript / DHTML / AJAX Apr 11th, 2009 |
| Replies: 2 Views: 1,777 Do it this way:
<script type="text/javascript">
var sfEls;
var sfHover = function() {
sfEls = document.getElementById("btn");
sfEls.onmouseover = function() {
this.className += "sfhover";... |
Forum: JavaScript / DHTML / AJAX Apr 3rd, 2009 |
| Replies: 2 Views: 831 The problem is on line #37 and #38:
//undefined object -
// it should be theform.pass.focus() instead of:
form.pass.focus();
// theform.pass.select() instead of:
form.pass.select(); |
Forum: JavaScript / DHTML / AJAX Jan 19th, 2009 |
| Replies: 13 Views: 2,550 This will do it...
<script type="text/javascript">
function resetLists(){
document.forms[0].select1.selectedIndex = 0;
document.forms[0].select2.selectedIndex = 0;
}
</script> |
Forum: JavaScript / DHTML / AJAX Jan 13th, 2009 |
| Replies: 7 Views: 5,192 But its working fine with me! What's your browser? |
Forum: JavaScript / DHTML / AJAX Dec 7th, 2008 |
| Replies: 3 Views: 1,574 Or you can just simplify things by doing this:
<form name="myform27" action="#" onsubmit="return false;">
<label for="chk1">
<input type="checkbox" name"myCheck" id="chk1" onmouseover="if... |
Forum: JavaScript / DHTML / AJAX Oct 8th, 2008 |
| Replies: 2 Views: 1,042 It's better if we will use the onchange event for this function!
Here's the code:
<html>
<head>
<title><!-- Sample --></title>
<script type="text/javascript">
<!--
function... |
Forum: JavaScript / DHTML / AJAX Sep 16th, 2008 |
| Replies: 1 Views: 819 This should do it!
Good day to you...
<html>
<head>
<title><!-- Sample --></title>
<script type="text/javascript">
<!-- BEGIN HIDING
var today = new Date();
Date.prototype.greet = function() |
Forum: JavaScript / DHTML / AJAX Sep 8th, 2008 |
| Replies: 9 Views: 843 what do u actually intend to do? |
Forum: JavaScript / DHTML / AJAX Aug 15th, 2008 |
| Replies: 2 Views: 2,476 Heres how it goes, just dont forget to change the URL values' assigned to the radio buttons. Enjoy coding...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"... |