我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

K2 onclick添加评级5 onclick

As the title say i want to make an extra field with an onclick function that adds 5 stars of rating in K2

Like this:

<a class="add-rating">Click me</button>

<script>
  var add = ('.add-rating');

  add.click(function() {
  +1 vote in the rating ;
  });
</script>

something like that i have no idea how to do this i have been trying to make it work for a couple of weeks now and i will be very greatful if you guys could hep me !

Try this extension with K2

extensions.joomla.org/extensions/extension-specific/k2-extensions/19253

近期文章

  • 使用Mailgun发送字符串附件
  • 如何将simpleSAMLphp配置为OpenID使用者?
  • symfony 2创建多租户数据库
  • 如何改变jQuery验证的远程方法响应
  • 使用php将照片发布到facebook相册中
  • 无法通过php阅读aliexpress.com
  • 如何在angularjs中获取php变量
  • GoToWebinar API缺少与会者呼叫的数据
  • Jqueryui datepicker值未插入mysql表
  • 仅获取帖子Wordpress上的复选框自定义字段
  • htaccess将root整合到url并隐藏index.php
  • 插入具有3表关系的命令并使用算术命令sql更新
  • CRC Maxim / Dallas 1Wire Generation:将Visual Basic转换为PHP
  • 在Laravel 4中使用在2个数据库之间创建多对多的关系
  • 在Mac OS Yosemite上使用PHP编辑图像
  • HTML minifier添加新行的目的
  • Plupload以不同的尺寸保存每个图像
  • 在不同的命名空间中实例化一个类
  • 使用ajax的jQuery通知声音
  • Yii:相关表格的默认排序模型

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华