javascript function and <c:import url="">

> main html page
 ```
 <div class="box-widget">   
            <c:import url="./wizet/timetable.jsp"></c:import>   
 </div>
 ```
> sub html page
```
 <section>
        <div>Choose Widget!</div>
            <button id="bu1">to do</button>
                <div id="differ1" style="display:none">
                    <div>Date</div>
                    <div>title</div>
                    <div>add_etc</div>              
                </div>
        </div>
</section>
```
> javascript
```
const dif = document.getElementById("differ1");
const dif_button = document.getElementById("bu1");
dif_button.onclick = () => {dif.style.display = "block";};
```

i want main page + sub page = like widget and i want more function. i'm not programmer but i not have.. question teacher..

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum