asp.net mvc - How to query and extract specific markup from an html string using C# in server side? -


i have html string reside in files in server , each user request have select markup id mentioned files , send them client.i wonder, there library .net can sort of job me!?. want achieve thing (with jquery):

var sometag = $("#id"); 

thanks in advance.

you might want check out csquery.

csquery jquery port .net 4. implements css2 & css3 selectors, dom manipulation methods of jquery, , of utility methods. majority of jquery test suite (as of 1.6.2) has been ported c#.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -