Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Javascript only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Javascript
how do i distinguish between refresh and first load in JavaScript?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
pravindongare
New Member
Join Date:
Jul 2012
Posts:
1
#1
how do i distinguish between refresh and first load in JavaScript?
Jul 6 '12, 01:47 PM
you know IsPostBack is used in server side to check refresh
how can i do in javascript
gits
Recognized Expert
Moderator
Expert
Join Date:
May 2007
Posts:
5390
#2
Jul 16 '12, 10:20 AM
you might use different solutions - like a cookie or the HTML5 local storage to set a flag or such to maintain a state that you can query from a script.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment