• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How can ı make onether button for post data?

Explorer ,
Nov 05, 2020 Nov 05, 2020

Copy link to clipboard

Copied

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>

Views

91

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 05, 2020 Nov 05, 2020

Copy link to clipboard

Copied

LATEST

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.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation