阅读背景:

在JS处理程序或PHP ajax函数中为ajax函数生成html更好吗?

来源:互联网 

I'm designing some UI's for a product and we want to utilize jQuery and PHP. The content to generate is a list of checkboxes (10-100) that a user will be modifying (removing multiple at a time and changing the entries). I thought I'd try something new and ask StackOverflow (read: you) what is preferred: generate the html in the php call and return, or return JSON data that jQuery can than go and generate the html checkboxes using.I'm designing some UI's for a product and we wa




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: