Code: Select all
var row_1 = dv.addLayout([3,3,3,3])
.add(1, ["-", "Name"])
.add(2, ["-", "Address"])
.add(3, ["-", "City"])
.add(4, ["-", "Postcode"])
.wrapLabels();
Code: Select all
$j('#hr').hide();
Code: Select all
var row_1 = dv.addLayout([3,3,3,3])
.add(1, ["-", "Name"])
.add(2, ["-", "Address"])
.add(3, ["-", "City"])
.add(4, ["-", "Postcode"])
.wrapLabels();
Code: Select all
$j('#hr').hide();
$j("#hr")
will return one element having id="hr"
, for example <div id="hr">...</div>
.Code: Select all
$j("hr").hide();
<hr>
tags. hr
's inside a certain container (for example inside a certain div
), you will have to find out the selector of the container, first, then can get all hr
-children. Code: Select all
$j("#TABLENAME_dv_form > fieldset > .form-group > div > hr").hide();
[code]...[/code]
blocks for better readability