hielo 65 Veteran Poster

i am sorry i had to remove double quotes too :

Yes you do. If you leave the double quotes, you are NOT assigning a function reference. You are assigning a string. In the future, instead of replying with a condescending response ("please try before posting a solution") do make an effort to read what what ACTUALLY suggested. Clearly I did NOT suggest those quotes.

But, how will you pass a parameter to that function if it requires any?

In that case you use an anonymous function and call your function from within the anonymous function: btn.onclick = function(){doSomething("This is the param you are passing");};

serkan sendur commented: this guy is smart +3
hielo 65 Veteran Poster

once the page has finished loading, if you call document.write you "destroy" the current document, and a new document will be created containing the new content you are writing. In your case, the "cellClicked" function exists in the original/old document (before document.write is executed), but since you call document.write via setUpPage after the page has finished loading:

<body onload="setUpPage()">

you "destroyed" your cellClicked function. Thus, instead of what you have, try:

...
<body>
<script type="text/javascript">setUpPage ()</script>
</body>
...

so that document.write is executed before the original document finishes loading.

VernonDozier commented: Thank you. +11
hielo 65 Veteran Poster

glad to help. Take care.

humbug commented: Good help :) +4
hielo 65 Veteran Poster

>>Notice how line 24 of my code includes "GET" and not "POST"? That's the call I used to (successfully) send a GET request (as the English above clearly states).
Yes, I can see that, but it is NOT clear if you were doing this:

send_to_host('humbot.freewebhostingpro.com','POST','/index.php?a=5','');

which is NOT the correct way to call it. The parameters should not be appended to the uri. Instead you need:

send_to_host('humbot.freewebhostingpro.com','POST','/index.php','a=5');

On another note, the source of the problem is:

fputs($fp, "Content-type: application/x-www-form- urlencoded\r\n");

there should be NO space between the hyphen and urlencoded. It should be:

fputs($fp, "Content-type: application/x-www-form-urlencoded\r\n");
humbug commented: That last bit of info was my problem. Cheers +4
hielo 65 Veteran Poster

on what you posted, you need quotes around the email addresses:

myMail.From="mymail@mydomain.com"
myMail.To="someone@somedomain.com"

Also, this is not right:
myMail.Sendset

The "Set" should be on the start of the next line:

myMail.Send
Set myMail=nothing

>>uploaded this script (as an .asp file) on a free asp-supported remote server
>>>CDO.Message.1error '80040220'
The "SendUsing" configuration value is invalid.
Do you know if the server is running a local smtp server? Most likely it is NOT. On the tutorial page you posted, you basically need to use the last example, but you need to modify:
"smtp.server.com"

with the value of the appropriate smtp server. Contact your webhost and ask them what is their smtp address. As documented on the comment of that example:
'Name or IP of remote SMTP server

you can use either an IP address OR a domain name.

Vladimirr commented: very informative and helpful +3
hielo 65 Veteran Poster

>> all I need to do for IE at this point is limit the calls to defined id attributes?
Yes

>> I should look at the source of each page, and stop the text engine after it renders the final character on the page?
Not necessarily. I don't know what is your desired effect. If you just want changing colors while loading then the answer is YES.
[This is what I did on post #2 above]

Otherwise, once the 23 character is loaded you just need to reset the variable letter to 0. This will cause the page to continuously re-render the entire string with changing colors.
[This is what I did on post #5 above.]

Both of those posts are complete code that you can simply copy from the posts, save them to your system, and then just run them. Both worked fine for me on FF and IE.

BTW: Try installing the Firebug extenstion for FireFox. Then open your page current page and you will see how the errors just keep accummulating.

tefflox commented: good help +2
hielo 65 Veteran Poster
hielo 65 Veteran Poster
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<script type="text/javascript"><!--
function insertAfter(parent, newNode, referenceNode)
{
	parent.insertBefore(newNode, referenceNode.nextSibling);
}
window.dynamicNodeCount=0;
function addElement()
{
	window.dynamicNodeCount++;
	var dad = document.getElementById('container');
	var elementAboveNew = document.getElementById('sib1');
	var newElement = document.createElement('div');
	newElement.innerHTML="Element " +window.dynamicNodeCount;
	insertAfter(dad,  newElement, elementAboveNew);
}
//--></script>
<div onclick="addElement();">Add Element</div>
<div id="container">
	<div id="sib1">a</div>
</div>
</body>
</html>
scru commented: Hey thanks dude. +3