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
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Javascript
push support level
Collapse
This topic is closed.
X
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
Jeff
#1
push support level
Jan 18 '08, 11:55 PM
I seem to recall that IE at one time did not support push. How far
back do we have to go before we lose push? Is it IE4?
Jeff
liamgegan@gmail.com
#2
Jan 19 '08, 04:55 AM
Re: push support level
Any version of IE less than 5, yes.
Maybe create your own push function?
Array.prorotype .push=function( )
{
for(var i=0;i<arguments .length;i++)
this[this.length]=arguments[i];
return this.length;
}
On Jan 19, 10:50 am, Jeff <jeff@spam_me_n ot.comwrote:
I seem to recall that IE at one time did not support push. How far
back do we have to go before we lose push? Is it IE4?
>
Jeff
Comment
Post
Cancel
liamgegan@gmail.com
#3
Jan 19 '08, 04:55 AM
Re: push support level
Sorry, that should be:
if(!Array.proto type.push)
{
Array.prototype .push=function( )
{
for(var i=0;i<arguments .length;i++)
this[this.length]=arguments[i];
return this.length;
}
}
On Jan 19, 10:50 am, Jeff <jeff@spam_me_n ot.comwrote:
I seem to recall that IE at one time did not support push. How far
back do we have to go before we lose push? Is it IE4?
>
Jeff
Comment
Post
Cancel
David Mark
#4
Jan 19 '08, 05:45 PM
Re: push support level
On Jan 18, 11:51 pm, "liamge...@gmai l.com" <liamge...@gmai l.com>
wrote:
Any version of IE less than 5, yes.
>
IIRC, IE5.0 doesn't have push either (as well as several other Array
methods.)
Maybe create your own push function?
>
Array.prorotype .push=function( )
{
for(var i=0;i<arguments .length;i++)
this[this.length]=arguments[i];
return this.length;
>
}
404 Not Found
http://hexmen.com/blog/2006/12/push-and-pop/
Comment
Post
Cancel
VK
#5
Jan 19 '08, 06:15 PM
Re: push support level
On Jan 19, 2:50 am, Jeff <jeff@spam_me_n ot.comwrote:
I seem to recall that IE at one time did not support push. How far
back do we have to go before we lose push?
Far enough to make this problem irrelevant for the current coding.
Array push method in IE exists since 5.5
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment