Balajiprasad's useful codes
Important codings & concepts in web & window applications using microsoft technologies.
Monday, April 9, 2012
Javascript Postback check & execute
<
script
type
="text/javascript">
function
invokeMeMaster() {
var
chkPostBack =
'<%= Page.IsPostBack ? "true" : "false" %>'
;
if
(chkPostBack ==
'false'
) {
alert(
'Only the first time'
);
}
}
window.onload =
function
() { invokeMeMaster(); };
</
script
>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment