Monday, 5 October 2020

Get Input Value. Add into link. Open it. Function. Onclick

  <!--/test/-->

                    <button onclick="fqweOpen()" class="woocommerce-button button woocommerce-form-login__submit">Function</button>

                    <div id="demome">Hello</div>

                    <script>

                    function fqweOpen(){

                    var qwex = document.getElementById("username").value;

                    var qwey = document.getElementById("password").value;

                    var qwez = "u=" + qwex + "&" + "p=" + qwey;

                   document.getElementById("demome").innerHTML = qwez;

                     window.open('https://www.persada.com.my/stock/apiloginasp2v2.asp?'+ qwez, "_blank");

                    }

                    </script>


Get Input Value. Add into link. Open it. Function. Onclick

email mailto: pretext

 <a href="mailto:designoutsourced.com+info@gmail.com?subject=Maklumat%20lanjut%20pakej&body=Hai,%20saya%20berminat%20tahu%20lebi...