avlee wrote on 19 dec 2006 in comp.lang.javascript
:
How in easiest way to make javascript code connects with http server ?
[I hope you mean clientside browser javascript]
There is no such thing as easiest or best in coding,
it depends on taste and coding objective.
window.location.href = "http://myserver.com/" is my(!) easiest choice.
If you want interactive connection, I suggest you try AJAX.
<http://en.wikipedia.org/wiki/Ajax_(programming)>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)