User Profile

Collapse

Profile Sidebar

Collapse
BeginnerHyun
BeginnerHyun
Last Activity: Sep 28 '07, 01:18 AM
Joined: Sep 12 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • BeginnerHyun
    replied to Javascript code within innerHTML
    Thanks for replying me.

    The example string which the ActiveX function "GetData()" returns is as below:

    [CODE=javascript]"<html><hea d> <script language=\"java script\"> function doJob1() { alert(\"This is test.\"); } </script></head><body onload=\"javasc ript:doJob1();\ "></body></html>"[/CODE]

    This string...
    See more | Go to post
    Last edited by gits; Sep 18 '07, 07:06 AM. Reason: added code tags

    Leave a comment:


  • BeginnerHyun
    started a topic Javascript code within innerHTML

    Javascript code within innerHTML

    A question on "innerHTML" .

    Hi,

    The below is my HTML code.
    ActiveX function "GetData()" returns HTML string which may include javascript codes.
    This HTML string may be HTML codes in any pages which I will navigate to.

    The result of the below code is not what I expected.
    Error occurred in the line "divEncId.inner HTML=enc;".
    And, the IE browser displays
    ...
    See more | Go to post
    Last edited by gits; Sep 12 '07, 06:33 AM. Reason: added code tags
No activity results to display
Show More
Working...