Jquery with ajax what is the best way to manage a table and append\delete rows.

I am very new to jquery and Ajax. I'm working with an ActiveX control that draws little sketch documents. When users save a new sketch using this control I send the data back to the server using Ajax. One of my requirements it to show a list of thumbnails in the page of existing sketches. For this list I've deiced to simply use a table, however the problem is what would be the very best way to manage this table using AJax? I can think of several way to do this: 1. Have the Ajax request respond with an entire new table with all of the sketch thumb nail links, 2. or I could respond with all of the rows. 3. Another possibility I can think of is to not respond with html at all but with JSon data that has all of the information I need to build the table and then use Jquery to build the table and append new rows or delete new rows as the users create and delete sketches. 4. Something else. What approach would you use?

以上就是Jquery with ajax what is the best way to manage a table and append\delete rows.的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » HTML5 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏