Side navigation
#13692 closed bug (duplicate)
Opened March 28, 2013 02:08PM UTC
Closed April 01, 2013 04:46PM UTC
Last modified April 01, 2013 04:46PM UTC
$(document).ready not executing sometimes after a postback
Reported by: | deepika | 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 ?????
Duplicate of #13692.