473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

push support level

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
Jan 18 '08 #1
4 1450
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_not.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
Jan 19 '08 #2
Sorry, that should be:

if(!Array.prototype.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_not.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
Jan 19 '08 #3
On Jan 18, 11:51*pm, "liamge...@gmail.com" <liamge...@gmail.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;

}
http://hexmen.com/blog/2006/12/push-and-pop/
Jan 19 '08 #4
VK
On Jan 19, 2:50 am, Jeff <jeff@spam_me_not.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

Jan 19 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Andrew Poulos | last post by:
I've got some code that looks a bit like this var t = new Object(); t.timings = new Array(); .... t.timings.push('abcd'); While it works in IE6 and MZ it fails in IE5 with this error:
14
by: Nick K. | last post by:
I am looking for architecture to push information from a server to a client browser. This information would be in the form of an alert. What I do not want to do is have the browser be on a timer...
3
by: Ben Kim | last post by:
Hello all, We are interested in having a server push data down to the client on a periodic basis (IE data change). This data would need to be pushed into a grid control. We do not want to...
4
by: Ben Kim | last post by:
Hello all, We are re-developing a software product that requires push technology (wireless and hardwired). Microsoft used to support this technology in IE but dropped it for whatever reason. ...
8
by: semedao | last post by:
Hi , I need to develop some feature of web service that can notify client - "Push" operation - and fast somebody know if it's possible , and how? When I say "Push" I mean - pure push :) , not...
3
by: Daz | last post by:
Hi everyone. First of all, I would be interested to know if anyone knows of a decent plugin for IE that validates JavaScript. I am running IE 5, 5.5 and 6 through wine (Windows Emulator) on...
20
by: merrittr | last post by:
I need some C advice I want to read in string commands from a user when the user enters a \n I want to push it on the stac. Then at some point , if the user enters the word print pop off and print...
10
by: Terrence Brannon | last post by:
Hello, The most common way of dynamically producing HTML is via template engines like genshi, cheetah, makotemplates, etc. These engines are 'inline' --- they intersperse programming...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.