Opened 10 years ago
Closed 10 years ago
#13691 closed bug (notabug)
$(document).ready not executing sometimes after a postback
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
sometimes $(document).ready() isn’t called after a postback is made. This happens thrice in 5 attempts or more. I have the below code in the $(document).ready() which needs to be executed on every postback which is not executed sometimes.
$(document).ready(function () {
Sys.StringBuilder.prototype.appendFormat = function (mask) { this.append(String.format.apply(null, arguments)); };
});
As a result i get the below error
Object has no method 'appendFormat'
Does anyone know why this is happening ?????
Note: See
TracTickets for help on using
tickets.
Support can be found on the forums or on the #jquery irc channel.