快速的jQuery插件和PHP表格生成器 Watajax

码农软件 · 软件分类 · jQuery表格插件 · 2019-12-29 06:27:58

软件介绍

Watajax 是一个PHP和jQuery结合起来用来快速生成网页表格数据的解决方案。

示例代码:

PHP:
<?php
  // Connect to the database first if you plan on using the Sql version of Watajax.

  require_once("lib/Watajax.class.php");
  $Watajax = new WatajaxSql();
  $Watajax->columns = array(
    "id" => array("name" => "#", "sort_type" => "numeric", "hide" => true),
    "firstname" => array("name" => "First name", "transform" => '<img src="'.URI.'/images/icons/vcard.png" valign="absmiddle" /> !firstname'),
    "lastname" => array("name" => "Last name"),
    "email" => array("name" => "E-mail adress", "transform" => '<a target="_blank" rel="nofollow" href="show_reciptient.php?id=!id">!email</a>'),
    "tools" => array("name" => "", "virtual" => true, "transform" => '<a target="_blank" rel="nofollow" href="edit.php?id=!id">edit</a>'));
  $Watajax->run();
?>

jQuery:
<script type="text/javascript">
  $(document).ready(function() {
    $("#watajax_table").watajax({ajax_connector:"ajax.php", table_id: "contacts"});
  })
</script>

本文地址:https://codercto.com/soft/d/22182.html

人工智能

人工智能

Stuart J. Russell、Peter Norvig / 清华大学出版社 / 2011-7 / 158.00元

《人工智能:一种现代的方法(第3版)(影印版)》最权威、最经典的人工智能教材,已被全世界100多个国家的1200多所大学用作教材。《人工智能:一种现代的方法(第3版)(影印版)》的最新版全面而系统地介绍了人工智能的理论和实践,阐述了人工智能领域的核心内容,并深入介绍了各个主要的研究方向。全书仍分为八大部分:第一部分“人工智能”,第二部分“问题求解”,第三部分“知识与推理”,第四部分“规划”,第五部......一起来看看 《人工智能》 这本书的介绍吧!

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

html转js在线工具
html转js在线工具

html转js在线工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具