Skip to main content
nurcanb61753314
Inspiring
November 5, 2020
Question

How can ı make onether button for post data?

  • November 5, 2020
  • 1 reply
  • 203 views

I write a  ajax post which is looking data at cfc.

But the under of button is not working so usefull.

Do u have any idea for make onether button?

<span class="input-group-addon"<a href="javascript&colon;//" onclick="vkn_kontrol();">VKN</span>

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    November 5, 2020

    If you are using Bootstrap the "input-group-addon" class was dropped in 4.x as far as I know and replaced with "input-group-prepend" or "input-group-append".

     

    A simple way to add a button to fire your Javascript is to use something like 

    <button type="button" class="btn btn-primary" onclick="vkn_kontrol();">VKN</button>

     

    Without knowing how you expect the button to fit with the rest of your interface it is difficult to suggest other options.

     I am still learning Bootstrap so I am sure others will have a better answer.