Raw HTML Control
I’m trying to populate data in a Raw HTML control using data in several text box controls that are populated on form load from a lookup.
The lookup works fine populating the text box controls however the Raw HTML control is not picking up the data:
Is it possible to set Raw HTML table data based on a lookup executed on form load?
-
You should be able to with jQuery. If you set an id on the Raw html control or if you have div's or span's inside it put id's on those then you can write JavaScript code that uses jQuery to manipulate the html. You do have to make sure to add your code into the eFormEvents.onFormLoadComplete event so that it executes after everything on the page is fully loaded.
HTML
<div id="firstRow"></div>JavaScript
eFormEvents.onFormLoadComplete = function () {
$('#firstRow').htm("<p>Some html here</p>");
}
请先登录再写评论。

评论
1 条评论