简体   繁体   中英

How do you use script# to create a jQuery plugin?

The only example of a simple script# jQuery plugin I could find online is here:

http://groups.google.com/group/scriptsharp_coding/browse_thread/thread/40769da17b0bb8d2?pli=1

The JQuery object from ScriptSharp 0.7.3 does not appear to expose a fn property or method though, so I am not sure how to continue.

Has anyone done this before, and could possibly give me a few tips?

Ok sorry for the initial trivial search. This page nicely explains how to do a jq plugin with script#:

http://michaelmurray75.wordpress.com/2011/07/16/getting-started-with-jquery-plugins-with-mvc-and-script/

You can get the whole code here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM