Javascript code same but output is different on different browsers - Javascript
This is a discussion on Javascript code same but output is different on different browsers - Javascript ; Hello,
Can any one tell me different functions or properties of javascript
which are gives different outputs on different browsers ?
Thanks in advance.
Bye...
-
Javascript code same but output is different on different browsers
Hello,
Can any one tell me different functions or properties of javascript
which are gives different outputs on different browsers ?
Thanks in advance.
Bye
-
Re: Javascript code same but output is different on different browsers
pradeep wrote:
> Hello,
>
> Can any one tell me different functions or properties of javascript
> which are gives different outputs on different browsers ?
>
> Thanks in advance.
> Bye
Are you asking for a full list of differences in Javascript behaviour?
For every browser / JS implementation?
That is like asking: Pradeep, can you give me a full list of every
difference between every carmodel that was ever made?
;-)
I think you better show us what function/behaviour is causing you trouble.
Regards,
Erwin Moller
-
Re: Javascript code same but output is different on different browsers
On 7 Jun, 11:48, pradeep <pwprad...@> wrote:
> Hello,
>
> Can any one tell me different functions or properties of javascript
> which are gives different outputs on different browsers ?
>
> Thanks in advance.
> Bye
If you are talking about the native JavaScript features (as defined in
the ECMA script) then I beleve that all main browsers are now pretty
close. There may be some subtle differences or bugs, but you will
rarely encounter them I would guess.
If you are talking about browser differences in terms of how they
render HTML and CSS, and the differences in the browser object models
they provide to JavaScript, then you could start with:-
http://www.quirksmode.org/
Julian
-
Re: Javascript code same but output is different on different browsers
In comp.lang.javascript message <1181213333.804547.123530@h2g2000hsg.goo
glegroups.com>, Thu, 7 Jun 2007 03:48:53, pradeep <pwpradeep@>
posted:
>Can any one tell me different functions or properties of javascript
>which are gives different outputs on different browsers ?
As well as asking whether there is a dependence on browser name &
version, you should IMHO also consider whether there may be a dependence
on OS location or settings for the same browser version - if only to
avoid problems that it may cause.
Number.toFixed() has a browser-dependent bug - see FAQ.
The methods of Date which give Strings give undefined formats, varying
with browser and version and I'd not be much surprised by a location
dependence either (VBScript has dependence on OS settings); the effects
of input strings might vary.
Date.getTimezoneOffset() is necessarily dependent on apparent location,
of course.
For current dates, Date.getYear() can give at least 2 values, maybe a
third.
Date.UTC(Y, M, D) has a bug for D<1 in FireFox.
See <URL:http://www.merlyn.demon.co.uk/js-datex.htm>.
It's a good idea to read the newsgroup c.l.j and its FAQ. See below.
--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 IE 6
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Similar Threads
-
By Application Development in forum Javascript
Replies: 0
Last Post: 11-03-2007, 09:43 PM
-
By Application Development in forum xharbour
Replies: 1
Last Post: 10-27-2007, 11:10 AM
-
By Application Development in forum C
Replies: 0
Last Post: 06-18-2007, 09:29 AM
-
By Application Development in forum Javascript
Replies: 0
Last Post: 02-15-2006, 02:15 PM
-
By Application Development in forum Compilers
Replies: 6
Last Post: 03-18-2005, 12:47 AM