Display partialview when clicking a link

后端 未结 2 376
情书的邮戳
情书的邮戳 2021-01-26 01:06

I\'m fairly new to JQuery and MVC 2 which makes this a bit harder, I\'ve always used WebForms before.
I\'m using the NerdDinner example as setup (I\'ve switched Dinner

2条回答
  •  无人及你
    2021-01-26 01:45

    page1.asp

    1
    2
    $('.holder').load('page1.asp .test');// returns =>> 2 // .test grabs any element that has a .test and pushes it into the holder

    so page would look like this...

    2

提交回复
热议问题