带有Ajax内容的jQuery弹出窗口

I have a Rails application. I show multiple rows of data on the page. For each row I want to create a button that will show some extra data on a popup for that row.

I checked following

  1. jQuery ui Dialog ( http://jqueryui.com/demos/dialog/ )

    • Doesn't give option to get data with ajax query,
    • I don't want hidden data for each row
  2. jQPOOOP jQuery plugin http://plugins.jquery.com/project/jQPOOOP

    • looks like works on html data, I want something that may work on json data

Is there any way to build something using only jquery ui dialog but which work on json data retrieved from an ajax request ?

查看全部
weixin_33749242
weixin_33749242
2011/07/18 11:45
  • ruby-on-rails
  • ajax
  • jquery
  • 点赞
  • 收藏
  • 回答
    私信

1个回复