Jump to content

How to change and get a value of a variable declared in a TUniHtmlFrame component


Luis German

Recommended Posts

Hello:

I have in a TUniHtmlFrame component the following code:
<table border="1" id="myTable">
<tr>
<td>100</td>
<td>200</td>
</tr>
<tr>
<td>300</td>
<td>400</td>
</tr>
</table>

1. How can execute the equivalent instruction from Delphi to change the border?

document.getElementById('myTable').border="10";

2. How can i retrieve the value of the border of the table from Delphi ?

Link to comment
Share on other sites

  • Luis German changed the title to How to change and get a value of a variable declared in a TUniHtmlFrame component

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