Disclaimer Disclaimer Disclaimer

how to call popup function from jsp to dust.js

63 views Asked by At

i have done with popup function but do not know how to call it in dust template from jsp .

<a id="disclaimer" onClick="openPopup()">Disclaimer</a>
<script>
    function openPopup() {
        $("#dialog").dialog({
            model : true,
            autoOpen : false,
            draggable : false,
            title : "Disclaimer",
            width : 886,
            height : 196
        });
        $("#dialog").dialog('open');

    }
</script>

please help me out to resolve it any answer would highly appreciated.

0

There are 0 answers