jqueryファイル(javascriptファイル)とCSSがあります。 私はそれを(asp.netのUserControlsのような)UserControlとして「公開」したいと思います。 これは、私がいくつかのページで複製したい機能性とデザインのhtml領域であるため、プラグインではありません。 例:フィルタパネル。javascriptのユーザーコントロール
ページ1:
<select id="aa"/>
<select id="bb"/>
Javascript file to load aa and bb options
rest of the html for page 1
ページ2:
<select id="aa"/>
<select id="bb"/>
Javascript file to load aa and bb options
rest of the html for page 2
はそれを行う方法はありますか?