MVC5 Classic
wijexpander Step 2 of 3: Initializing the Widget

In the previous step, you added markup to add the content that will appear in the expander. In this step, you'll add the jQuery script needed to initialize the widget.

Complete the following step:

After the closing </div> tag you added in the previous step, enter the following jQuery script to initialize the wijexpander widget:

<script id="scriptInit" type="text/javascript">
        $(document).ready(function () {
            $("#expander").wijexpander();
        });
</script>

This script will initialize the widget.

You have created an application and added and initialized the wijexpander widget. In the next step, in wijexpander Step 3 of 3: Running the Project, you'll view the run-time interactions of the widget.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback