Jquery 单击按钮时将多个值传递到弹出窗口

Jquery 单击按钮时将多个值传递到弹出窗口,jquery,laravel,Jquery,Laravel,如何通过按钮将多个值传递给弹出窗体 编辑配置文件 您使用哪个弹出窗口?同样,您也可以使用其他项目 $('.edit-company').on('click',function(){ var Name = $(this).data('name'); // Here 'Name' will be having the value you passed to the popup });

如何通过按钮将多个值传递给弹出窗体

编辑配置文件
您使用哪个弹出窗口?同样,您也可以使用其他项目
$('.edit-company').on('click',function(){
    var Name = $(this).data('name');
    // Here 'Name' will be having the value you passed to the popup
});