I am trying apply the commands used on UDEMY - AppGini -- 12. Organizing Long Forms into Tabs
BUT
The problem the test appended is always appearing at the bottom of the page it does move in the middle between the Main Table and Child Table as shown in the video/code for some reason!
Tried it on differnert browsers but still shownig at the bottom of the page always.
Am I missing or misconfiguring any line in this code that I am using ?!
THANK YOU in Advance.
Code: Select all
function licenses_dv($selectedID, $memberInfo, &$html, &$args){
// run only if it is not a Print Preview page...
if(isset($_REQUEST['dvprint_x'])) return;
ob_start(); ?>
<div id="form-tabs">This is a test line!</div>
<script>
$j(function(){
$j('#form-tabs').appendTo('#licenses_dv_form');
})
</script>
<?php
$tabs = ob_get_contents();
ob_end_clean();
$html .= $tabs;
}