Hi,
I have a web page that used ajax. The code is like
<head runat="server">
<title></title>
<script type="text/javascript">
function onFailed(error) {
alert(error);
}
function onLookup() {
MyWebService.Demo(onSuccess,onFailed);
}
function onSuccess(arg) {
createTable(arg);
}
...
Now I am going to move these piece of code into master page. My question is how to do it?
Should I insert it into ContentPlaceHolder?
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
Thanks.
...
Go to the complete details ...