AnsweredAssumed Answered

Need help on Jquery/Java script code to download case study pdf after submitting a form

Question asked by Naveen Kumar on Nov 25, 2018
Latest reply on Nov 26, 2018 by Sanford Whiteman



Could you please help me to get the Jquery/javascript code for the below requirement.


In the Marketo landng page i have created a button "Download case study" when we click on the button it should display the form pop up its working fine till here.  Below is the code for reference.


Problem : Now i would like to download the pdf file after submitting the form. Can any one help me to get Jquery/Javascript code for this.



Reference code :


<a data-toggle="modal" data-target="#myModal" id="formButton" mktoName="Form Button">Download case study</a></div>


<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">

        <div class="modal-dialog" role="document">

            <div class="modal-content">

                <div class="modal-header">

                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>

                    <h4 class="modal-title" id="myModalLabel">Complete This Form</h4>


                <div class="modal-body">

                    <div class="row">

                        <div class="col-md-12 text-center">

                            <div class='mktoForm' id='theForm' mktoName='Asset Form' style="padding-top: 20px; padding-bottom: 20px;">