Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #15482

Re: objected oriented JS in IE

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From Gregor Kofler <usenet@gregorkofler.com>
Newsgroups comp.lang.javascript
Subject Re: objected oriented JS in IE
Date Tue, 21 Aug 2012 17:04:03 +0200
Organization A noiseless patient Spider
Lines 50
Message-ID <k10814$3qo$1@dont-email.me> (permalink)
References <ee7bd2ed-bc13-470c-91de-6d44dafbd098@googlegroups.com> <obednVG3t5N2ya3NnZ2dnUVZ_q2dnZ2d@posted.localnet> <k0qqsu$v80$1@dont-email.me> <ddCdnfehDMswDK_NnZ2dnUVZ_gWdnZ2d@posted.localnet>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 21 Aug 2012 15:04:04 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="743f91444812977df008257371f61756"; logging-data="3928"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+k07hDUVTihTCuu4XNNK65ZVgIyI/Gflk="
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
In-Reply-To <ddCdnfehDMswDK_NnZ2dnUVZ_gWdnZ2d@posted.localnet>
Cancel-Lock sha1:DKdlkWysJennjskQ2FFsxVY0F1M=
Xref csiph.com comp.lang.javascript:15482

Show key headers only | View raw


Am 2012-08-20 21:36, Robert Baer meinte:
> Gregor Kofler wrote:
>> Am 2012-08-19 04:52, Robert Baer meinte:
>>> Larz wrote:
>>>> I have some objected oriented JS that has been working fine in firefox,
>>>> the use of self=this (and self is then used in the callback after
>>>> that) however in the code below does not work in IE for me. I am using
>>>> IE 8 at the moment, though it is IE 9 that we will have to support.
>>>> What is best approach ?
>>>>
>>>> this.upd_params = function () {
>>>> $("#add-parameter-modal").modal('hide');
>>>>
>>>> var param_form = $('#add_param_form');
>>>> self = this;
>>>> this.added_params = [];
>>>> this.removed_params = [];
>>>>
>>>> $('.unused_parameter').each(function (index, obj) {
>>>> if (obj.checked) {
>>>> id = self.get_idnum(obj.id);
>>>> self.add_param2list(id);
>>>> }
>>>> });
>>> You may find that if you get something to work in IE8, that it will
>>> work everywhere else with the possible exception of Chrome (IE5 does
>>> better).
>>
>> Er... what? Anyway, when did you start *giving* advice in JS?
>>
>> To clarify things: scripts that are designed to work in IE8 will rarely
>> work in any standards compliant browser (i.e. Chrome/Chromium, Firefox,
>> Safari, Opera, etc.)
>>
>> Gregor
>    I am no a programmer, do not really know HTML or CSS,but have been
> able to do some modifications where IE8 and FireFox give similar
> rendering; Chrome totally futzes the result.
>    Do need help in that area; where should i place a detailed query?

comp.infosystems.www.authoring.stylesheets
comp.infosystems.www.authoring.html

You already know alt.html

If your markup validates, Chrome and Firefox and IE8 will most likely 
render identical.

Gregor

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

objected oriented JS in IE Larz <wbsurfver@gmail.com> - 2012-08-17 14:12 -0700
  Re: objected oriented JS in IE Ross McKay <au.org.zeta.at.rosko@invalid.invalid> - 2012-08-18 12:38 +1000
  Re: objected oriented JS in IE Denis McMahon <denismfmcmahon@gmail.com> - 2012-08-18 11:08 +0000
  Re: objected oriented JS in IE Robert Baer <robertbaer@localnet.com> - 2012-08-18 19:52 -0700
    Re: objected oriented JS in IE Gregor Kofler <usenet@gregorkofler.com> - 2012-08-19 15:49 +0200
      Re: objected oriented JS in IE Robert Baer <robertbaer@localnet.com> - 2012-08-20 12:36 -0700
        Re: objected oriented JS in IE Gregor Kofler <usenet@gregorkofler.com> - 2012-08-21 17:04 +0200
          Re: objected oriented JS in IE Robert Baer <robertbaer@localnet.com> - 2012-08-23 22:39 -0700

csiph-web