On Fri, Apr 17, 2009 at 9:52 AM, CapitalKing <[email protected]> wrote:
>
> <div Id  ="myQuote" runat="server" ></div>
>
> In the my code ,,
>
> myQuote.innerHtml += "Hello ";

I suggest you use document.getElementById('myQuote').innerHTML += 'hello';
I think using the id of the element to reference the object works in IE only.

>
> why the above line occur error.?
>
> and another problem is :
> <body>
> Hello .net
>  </body>
>

no why, you just cannot do this. put the text in a <div> or <p> element.

>
> here error is "not containing text in body". But why?
>



-- 
Best Regards,
David Shen

Reply via email to