Jump to content

Recommended Posts

Posted

Как выполнить уже существующий скрипт в загруженной в UNIURLFRAME странице?

Posted
<!doctype html>

<html>

<head>

<style type="text/css">

#block {width:100px; height:100px; border:1px solid #ccc;}

</style>


<script type="text/javascript">

 

function funonload() {

    $("#block").css("background-color", "yellow");

}

 

</script>

 

<meta charset="utf-8">

 

<title>TEST</title>

</head>

<body>

 <div id="block"></div>

</body>

</html>

Posted

Мы хотим купить. Но без такой возможности не сможем перенести функционал. Надо найти способ выполнять скрипты )

Posted

ну вот... я думал такая возможность базовая

 

Да Вы правы, базовая

 

MainForm.UniHTMLFrame1.iframe.contentDocument.title

MainForm.UniHTMLFrame1.iframe.contentWindow.funonload()

  • 6 months later...
Posted

ShowMessage(MainForm.UniURLFrame1.iframe.contentDocument.title)  не работает.

Е2003 Undeclared identifier: 'iframe'

 

Я забыл подключить какой-нибудь модуль?

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...