Jagapathibabu Banoth

Jagapathibabu Banoth

  • 1.6k
  • 175
  • 15.5k

how to click on this Transfer button in write the .cs code

Nov 6 2023 4:49 PM

how to click on this Transfer  button in write the .cs code its not workin this below code how to solve this issue    

 <script>

        function showDetails(Benificiaryname, Bankname, IFSCCode, AccountNumber, TransferMode, amount) {
            var details = '<div><strong>Name As Per Bank: </strong>' + Benificiaryname + '</div>' +
                '<div><strong>Bank Name:</strong> ' + Bankname + '</div>' +
                '<div><strong>IFSC Code:</strong> ' + IFSCCode + '</div>' +
                '<div><strong>Bank Account:</strong> ' + AccountNumber + '</div>' +
                '<div><div><strong>Name Asper Bank:</strong><input type="text" id="inputText" value="" /></div>' +  
                '<div><button id="GetName">Transfer</button></div>';

            document.getElementById('validationDetails').innerHTML = details;
            $('#detailsModal').modal('show');
        }

</script>

 <div class="modal-body" id="validationDetails">
                        <asp:TextBox ID="inputText" runat="server"></asp:TextBox>
                        <asp:Button ID="GetName" runat="server" Text="GetName" OnClick="IMPSButton_Click" Style="background-color: green; color: #fff;" />
                    </div>
> In this line Also i have to changed do some modification (<div><button id="GetName">Transfer</button></div>';) but not getting result how to solve  issue give me yous suggesttion


Answers (2)