标签: php html mongodb
In this image i fetched the data from mongodb and i would like to add buttons for contacts for each record and i want it it works like toggle
答案 0 :(得分:0)
以下是示例:
$('button').click(function(){ $('div').slideToggle(); })
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <div> Show & Hide </div> <button> Contact </button>