How to use JQuery with Master Pages?

后端 未结 13 1166
甜味超标
甜味超标 2020-12-04 18:13

I can get simple examples to work fine as long as there\'s no master page involved. All I want to do is click a button and have it say \"hello world\" with the javascript in

13条回答
  •  情话喂你
    2020-12-04 18:48

    In case if some one wants to access a label, here is the syntax

    $('[id$=lbl]').text('Hello');
    

    where lbl is the label id and the text to display in the label is 'Hello'

提交回复
热议问题