Try with:
<body onload="test('test')">

Or:
<script>
addLoadEvent(function() {
  test("test");
);
</script>

On 2/19/07, carlo <[EMAIL PROTECTED]> wrote:
>
> my html:
> <body onLoad=test('test')>
>
> function test(prog) {
> d = doSimpleXMLHttpRequest("http://192.168.1.1:8081/da/testajax.py";,
> {"progetto":prog});
> d.addCallback(showText);
> }
>
> function showText(req) {
> alert(req.responseText);
> }
>
> In Firefox 2 everything is ok.
> In IE6 I get:
> Object expected
> Code: 0
>
> and I do not see any alert popup.
>
> Really appreciate some help, thank you
>
>
> >
>


-- 
troels

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to