Skip to content

Commit e87faac

Browse files
davmarksmandavmarksman
davmarksman
authored and
davmarksman
committed
Test field appear after 3 secs
1 parent adaf837 commit e87faac

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

index.html

+8
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,14 @@ <h5><u><b>Cover Required</b></u></h5>
287287
class="number_input cover Money"><span class="char_label suffix"></span>
288288
</div>
289289

290+
<div class="question SmallTitle">
291+
<h5><u><b>Add Space</b></u></h5>
292+
<div class="info_text"></div>
293+
</div>
294+
<div id="addSpace" class="question Money RISKGROUP_ID_5593">
295+
<div class="text">ToAdd:</div>
296+
297+
</div>
290298
<div style="height: 100px;"></div>
291299
</div>
292300
</div>

main.js

+10
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,13 @@ if(searchParams.has('name')) {
66
console.log("name parameter is:" + param);
77
document.getElementById('demoName').textContent = param;
88
}
9+
10+
11+
setTimeout(function(){
12+
let space = document.getElementById("addSpace")
13+
var newInput = document.createElement('input');
14+
newInput.type = 'text';
15+
newInput.id = 'inputField' + (space.children.length + 1);
16+
17+
space.appendChild(newInput)
18+
}, 3000);

0 commit comments

Comments
 (0)