Jump to content

Recommended Posts

Posted

MainForm.UniURLFrame1.getEditorBody().innerHTML

 

You can use above script but it will not work if frame loads an external URL. Browser security restrictions prevent that.

 

I need to put a clause in the uses? Why not appear .getEditorBody().innerHTML here.

 

I receive the error [DCC Error] Main.pas(55): E2003 Undeclared identifier: 'getEditorBody'

  • Administrators
Posted

I need to put a clause in the uses? Why not appear .getEditorBody().innerHTML here.

 

I receive the error [DCC Error] Main.pas(55): E2003 Undeclared identifier: 'getEditorBody'

 

It is JS script not pascal code. Use it inside a client event. See one of our Client Event demos.

  • 1 month later...
Posted

It is JS script not pascal code. Use it inside a client event. See one of our Client Event demos.

 

Im receiving the error in Google Chrome [uncaught TypeError: Cannot call method 'getEditorBody' of undefined ].

Posted

I put the code in the uniurlframe1 clientevent onmouseover

function Onmouseover(sender)
{
 MainForm.UniURLFrame1.getEditorBody().innerHTML;
}

 

Then in chrome appear the error.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...