{$item.goodsInfo.name}{$item.goodsInfo.priceNow} ">
Home > Backend Development > PHP Tutorial > 我是php小白 复制拷贝下面代码的文件为啥提示该动作不存在 ?

我是php小白 复制拷贝下面代码的文件为啥提示该动作不存在 ?

WBOY
Release: 2016-06-02 11:34:16
Original
967 people have browsed it

php

我是php小白 问一个问题 复制拷贝下面代码的文件为啥提示该动作不存在 网站用的smarty模板分离..

{seopage id=18}
{include "header.inc.html"}
{include "user/header.inc.html"}

{include "user/side.inc.html"}

我的收藏夹

{userfavorite userId=$smarty.session.userId} {/userfavorite}
缩略图 产品名称 单价 加入购物车 取消收藏
我是php小白   复制拷贝下面代码的文件为啥提示该动作不存在 ? {$item.goodsInfo.name} {$item.goodsInfo.priceNow}

function delFavorite(fid){ if(!fid || isNaN(parseInt(fid))){ return false; } //if(!confirm("确定删除该收藏吗?")){ return false; } $.ajax({ type:"POST", url:"{$baseUrl}user/favorite/", data:"inajax=1&act=del&id="+fid, dataType:"json", cache:false, success:function(data){ G.ui.popup.showMsg(data.message,{ type:data.type }); if(data.success){ $("#fav"+fid).hide("slow").remove(); } } });}

{include "footer.inc.html"}

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template