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


Groups > comp.lang.javascript > #30667 > unrolled thread

Failing to get DIV content to flip between initial and alternate version

Started by$Bill <news@todbe.com>
First post2016-06-16 23:18 -0700
Last post2016-06-25 19:02 +0200
Articles 20 on this page of 30 — 8 participants

Back to article view | Back to comp.lang.javascript


Contents

  Failing to get DIV content to flip between initial and alternate version $Bill <news@todbe.com> - 2016-06-16 23:18 -0700
    Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-17 11:32 +0200
      Re: Failing to get DIV content to flip between initial and alternate version $Bill <news@todbe.com> - 2016-06-17 19:00 -0700
        Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-18 11:35 +0200
          Re: Failing to get DIV content to flip between initial and alternate version $Bill <news@todbe.com> - 2016-06-18 19:16 -0700
            Re: Failing to get DIV content to flip between initial and alternate version Doc O'Leary  <droleary@2015usenet1.subsume.com> - 2016-06-19 14:23 +0000
              Re: Failing to get DIV content to flip between initial and alternate version $Bill <news@todbe.com> - 2016-06-20 04:13 -0700
                Re: Failing to get DIV content to flip between initial and alternate version $Bill <news@todbe.com> - 2016-06-20 04:16 -0700
                  Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-26 12:53 +0200
                    Re: Failing to get DIV content to flip between initial and alternate version $Bill <news@todbe.com> - 2016-06-26 16:22 -0700
                      Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-27 10:49 +0200
                      Re: Failing to get DIV content to flip between initial and alternate version Doc O'Leary  <droleary@2015usenet1.subsume.com> - 2016-06-27 13:58 +0000
                  Re: Failing to get DIV content to flip between initial and alternate version Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-06-27 05:43 +0200
                    Re: Failing to get DIV content to flip between initial and alternate version John Harris <niam@jghnorth.org.uk.invalid> - 2016-06-27 09:38 +0100
                      Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-27 11:00 +0200
                        Re: Failing to get DIV content to flip between initial and alternate version John Harris <niam@jghnorth.org.uk.invalid> - 2016-06-28 10:04 +0100
                          Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-28 12:13 +0200
                            Re: Failing to get DIV content to flip between initial and alternate version John Harris <niam@jghnorth.org.uk.invalid> - 2016-06-29 16:16 +0100
                              Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-29 19:48 +0200
            Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-25 16:40 +0200
      Re: Failing to get DIV content to flip between initial and alternate version "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-06-18 10:59 -0700
        Re: Failing to get DIV content to flip between initial and alternate version Stanimir Stamenkov <s7an10@netscape.net> - 2016-06-18 22:32 +0300
          Re: Failing to get DIV content to flip between initial and alternate version "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-06-18 13:50 -0700
            Re: Failing to get DIV content to flip between initial and alternate version Stanimir Stamenkov <s7an10@netscape.net> - 2016-06-19 09:40 +0300
              Re: Failing to get DIV content to flip between initial and alternate version "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-06-19 12:21 -0700
              Re: Failing to get DIV content to flip between initial and alternate version Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-06-25 18:37 +0200
      Re: Failing to get DIV content to flip between initial and alternate version Stanimir Stamenkov <s7an10@netscape.net> - 2016-06-18 22:17 +0300
        Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-25 16:45 +0200
          Re: Failing to get DIV content to flip between initial and alternate version "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-06-25 17:17 +0200
            Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-25 19:02 +0200

Page 1 of 2  [1] 2  Next page →


#30667 — Failing to get DIV content to flip between initial and alternate version

From$Bill <news@todbe.com>
Date2016-06-16 23:18 -0700
SubjectFailing to get DIV content to flip between initial and alternate version
Message-ID<nk04oi$t3m$1@dont-email.me>
I'm generating a TV Guide page from a Perl script to HTML and then rendering
the page.  The HTML has the schedule in two formats: 1) grid; 2) list.  What
I'm trying to do is show just the grid or just the list instead of both.  The
default is grid type.  The way I'm trying to implement this is by using
document.getElementById to get the DIV containing the HTML and
<element>.innerHTML = <newText> to set the alternate type of listing (grid/list).

The code works to actually change the content, but then seems to reload the page
reverting it back - alert popup in init shows it's being called once on load and
again on click of 'Flip View' button (which it shouldn't).  How do I stop the
second load from happening?

TIA, Bill

My test case is below:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<HTML>
<HEAD>
<TITLE>Flip Test</TITLE>
</HEAD>

<BODY>

<SCRIPT>			// init global vars

var isGrid = 0;			// cause a switch between grid text & list text
// isGrid == 0 means init, == 1 means grid active, == 2 means list active
var gridTxt = "<P>Grid Text</P>";		// just some test text
var listTxt = "<P>List Text</P>";		// just some test text
document.body.onload = init;			// init to grid text

	// function to swap grid and list content
function FlipType () {

// alert ("0: isGrid=" + isGrid);			// debug
// get the current div object by id
var flipDiv = document.getElementById("FlipDiv");
// 1st execution on init doesn't get to here (init:, 0:)
// alert ("1: " + flipDiv.innerHTML);		// debug
if (isGrid != 1) {				// set to grid if not grid
	flipDiv.innerHTML = gridTxt;
	// alert ("2: " + flipDiv.innerHTML);	// debug
	isGrid = 1;				// set flip switch to grid
} else {					// else set to list
	flipDiv.innerHTML = listTxt;
	// alert ("3: " + flipDiv.innerHTML);	// debug
	isGrid = 2;				// set flip switch to list
}
// alert ("4: isGrid=" + isGrid);			// debug
// button click execution gets to here, but seems to re-call init like the page
// is re-loading ???
// 0:, 1:, 2: 4:, init:. 0:

}
	// init calls FlipType to set initial grid text
function init () {
document.body.onload = null;		// trying to prevent 2nd load
alert ("init: isGrid=" + isGrid);	// getting called on button click-wrong
// if (isGrid == 1 || isGrid == 2) { ; } else { FlipType (); } this fails to work
FlipType ();				// to set the text the first time to grid
}

</SCRIPT>

<!-- button to test FlipType -->
<FORM>
   <!-- for some reason FlipType is executed twice when I click it ???
   maybe the body is re-loading from onload ??? -->
   <BUTTON onclick="FlipType()">Flip View</BUTTON>
</FORM>

<!-- actual code to flip goes inside this form in the DIV -->
<FORM>
<FORM METHOD="POST" ACTION="http://www.todbe.com/cgi-bin/prt_tv_sched.pl">
   <BR><INPUT TYPE="HIDDEN" NAME="DATE" VALUE="20160612">
   <DIV ID="FlipDiv"><P>Replace Me</P></DIV>
   <BR><INPUT TYPE="SUBMIT" VALUE="Print Selected Schedule">
</FORM>

</BODY>
</HTML>

[toc] | [next] | [standalone]


#30669

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2016-06-17 11:32 +0200
Message-ID<XnsA62A755FDFCC0eejj99@194.109.6.166>
In reply to#30667
$Bill <news@todbe.com> wrote on 17 Jun 2016 in comp.lang.javascript:

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>    "http://www.w3.org/TR/html4/loose.dtd">

<!DOCTYPE HTML> will do in the 21 century.

> <HTML>
> <HEAD>
> <TITLE>Flip Test</TITLE>
> </HEAD>
> 
> <BODY>
> 
> <SCRIPT>               // init global vars
> 
> var isGrid = 0;               // cause a switch between grid text & list
> text // isGrid == 0 means init, == 1 means grid active, == 2 means list
> active var gridTxt = "<P>Grid Text</P>";          // just some test text
> var listTxt = "<P>List Text</P>";          // just some test text
> document.body.onload = init;               // init to grid text

window.onload = init;

then you can set the <script> inside the <head>, where it belongs.

> 
>      // function to swap grid and list content
> function FlipType () {
> 
> // alert ("0: isGrid=" + isGrid);               // debug
> // get the current div object by id
> var flipDiv = document.getElementById("FlipDiv");
> // 1st execution on init doesn't get to here (init:, 0:)
> // alert ("1: " + flipDiv.innerHTML);          // debug
> if (isGrid != 1) {                    // set to grid if not grid
>      flipDiv.innerHTML = gridTxt;
>      // alert ("2: " + flipDiv.innerHTML);     // debug
>      isGrid = 1;                    // set flip switch to grid
>} else {                         // else set to list
>      flipDiv.innerHTML = listTxt;
>      // alert ("3: " + flipDiv.innerHTML);     // debug
>      isGrid = 2;                    // set flip switch to list
>}
> // alert ("4: isGrid=" + isGrid);               // debug
> // button click execution gets to here, but seems to re-call init like
> the page // is re-loading ???
> // 0:, 1:, 2: 4:, init:. 0:
> 
>}
>      // init calls FlipType to set initial grid text
> function init () {
> document.body.onload = null;          // trying to prevent 2nd load

This is nonsense, a document always loads once, and then is a new document.


> alert ("init: isGrid=" + isGrid);     // getting called on button
> click-wrong // if (isGrid == 1 || isGrid == 2) { ; } else { FlipType ();
> } this fails to work FlipType ();                    // to set the text
> the first time to grid 
>}
> 
> </SCRIPT>
> 
> <!-- button to test FlipType -->
> <FORM>
>    <!-- for some reason FlipType is executed twice when I click it ???
>    maybe the body is re-loading from onload ??? -->
>    <BUTTON onclick="FlipType()">Flip View</BUTTON>

The form is executed, so the page reloads and the javascript execution is 
lost, so do a "return false" to prevent the form from executing:

<button onclick='flipType();return false;'>Flip View</button>

or set the <button> outside a <form>


> </FORM>
> 
> <!-- actual code to flip goes inside this form in the DIV -->
> <FORM>
> <FORM METHOD="POST"
> ACTION="http://www.todbe.com/cgi-bin/prt_tv_sched.pl"> 
>    <BR><INPUT TYPE="HIDDEN" NAME="DATE" VALUE="20160612">
>    <DIV ID="FlipDiv"><P>Replace Me</P></DIV>
>    <BR><INPUT TYPE="SUBMIT" VALUE="Print Selected Schedule">
> </FORM>
> 
> </BODY>
> </HTML>

I prefer lowercase html, less screaming.

And leave out the copious commenting on usenet, 
as the lines get too long.

Try this:

============================================
<!DOCTYPE HTML>
<html>
<head>
<title>Flip Test</title>
<script>
   var isGrid = 0;         
   var gridTxt = '<p>Grid Text</p>';      
   var listTxt = '<p>List Text</p>';      
   function flipType() {
      var flipDiv = document.getElementById('FlipDiv');
      if (isGrid != 1) {            
         flipDiv.innerHTML = gridTxt;
         isGrid = 1;            
      } else {               
         flipDiv.innerHTML = listTxt;
         isGrid = 2;            
      };
   };
      
   function init() {
      // document.body.onload = null;      
      // alert ('init: isGrid=' + isGrid);   
      flipType();            
   };
   window.onload = init;         
</script>
</head>

<body>
<form>
   <button onclick='flipType();return false;'>Flip View</button>
</form>
<form>
<form method='post' action=''
   <br><input type='hidden' name='date' value='20160612'>
   <div id='FlipDiv'><p>Replace Me</p></div>
   <br><input type='submit' value='Print Selected Schedule'>
</form>
</body>
</html>
===================================

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#30677

From$Bill <news@todbe.com>
Date2016-06-17 19:00 -0700
Message-ID<nk29vs$5bm$1@dont-email.me>
In reply to#30669
On 6/17/2016 02:32, Evertjan. wrote:
> $Bill <news@todbe.com> wrote on 17 Jun 2016 in comp.lang.javascript:
>
> window.onload = init;
>
> then you can set the <script> inside the <head>, where it belongs.

>> document.body.onload = null;          // trying to prevent 2nd load

> This is nonsense, a document always loads once, and then is a new document.

What do you expect on my first try at using Javascript?  ;)

> The form is executed, so the page reloads and the javascript execution is
> lost, so do a "return false" to prevent the form from executing:
>
> <button onclick='flipType();return false;'>Flip View</button>
>
> or set the <button> outside a <form>

I knew there had to be a way to do that - just hadn't found it yet.
Didn't realize that the form execution was causing the re-load.

> I prefer lowercase html, less screaming.

I just normally UC the HTML tags.

> And leave out the copious commenting on usenet,
> as the lines get too long.

That was for the benefit of the post to explain what I thought I
was doing/trying to do.

> Try this:

Much grass amigo.  That works like a charm.  Now I need to slip all
the actual HTML into those two vars ...

[toc] | [prev] | [next] | [standalone]


#30678

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2016-06-18 11:35 +0200
Message-ID<XnsA62B75F12E387eejj99@194.109.6.166>
In reply to#30677
$Bill <news@todbe.com> wrote on 18 Jun 2016 in comp.lang.javascript:

>>> document.body.onload = null;          // trying to prevent 2nd load
> 
>> This is nonsense, a document always loads once, and then is a new
>> document. 
> 
> What do you expect on my first try at using Javascript?  ;)

I am critisizing factual code, not your coding.

And the coding is illogical, whether you are a novice or an expert. 

This NG is not about examination of people, but of Javascript code.

> Much grass amigo.  That works like a charm.  Now I need to slip all> 
> the actual HTML into those two vars ..

Success.


-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#30689

From$Bill <news@todbe.com>
Date2016-06-18 19:16 -0700
Message-ID<nk4v9l$cth$1@dont-email.me>
In reply to#30678
On 6/18/2016 02:35, Evertjan. wrote:
> $Bill <news@todbe.com> wrote on 18 Jun 2016 in comp.lang.javascript:
>
>>>> document.body.onload = null;          // trying to prevent 2nd load
>>
>>> This is nonsense, a document always loads once, and then is a new
>>> document.
>>
>> What do you expect on my first try at using Javascript?  ;)
>
> I am critisizing factual code, not your coding.
>
> And the coding is illogical, whether you are a novice or an expert.

But an expert would know that and what I was attempting to do was
indeed logical - just didn't know how to render the logic.  :)

> This NG is not about examination of people, but of Javascript code.
>
>> Much grass amigo.  That works like a charm.  Now I need to slip all>
>> the actual HTML into those two vars ..
>
> Success.

Yes.  Still needs some tweaking on some tables, but the concept is working.
Thanks again for the help.

[toc] | [prev] | [next] | [standalone]


#30692

FromDoc O'Leary <droleary@2015usenet1.subsume.com>
Date2016-06-19 14:23 +0000
Message-ID<nk69tf$2h5$1@dont-email.me>
In reply to#30689
For your reference, records indicate that 
$Bill <news@todbe.com> wrote:

> But an expert would know that and what I was attempting to do was
> indeed logical

No, there’s really no logic in screwing with innerHTML in order to get the job done.  An expert would do something more sane, like altering the CSS display property of the elements in question.

-- 
"Also . . . I can kill you with my brain."
River Tam, Trash, Firefly

[toc] | [prev] | [next] | [standalone]


#30697

From$Bill <news@todbe.com>
Date2016-06-20 04:13 -0700
Message-ID<nk8j47$uqr$1@dont-email.me>
In reply to#30692
On 6/19/2016 07:23, Doc O'Leary wrote:
> For your reference, records indicate that
> $Bill <news@todbe.com> wrote:
>
>> But an expert would know that and what I was attempting to do was
>> indeed logical
>
> No, there’s really no logic in screwing with innerHTML in order to get the job done.  An expert would do something more sane, like altering the CSS display property of the elements in question.

You're wrong - the logic is there, the knowledge of the language/workings isn't.
And I'm a neophyte not an expert - what I did got the job done - when I have the
knowledge, I'll find better/more apropos ways to do things.

[toc] | [prev] | [next] | [standalone]


#30698

From$Bill <news@todbe.com>
Date2016-06-20 04:16 -0700
Message-ID<nk8jb1$uqr$2@dont-email.me>
In reply to#30697
On 6/20/2016 04:13, $Bill wrote:
> On 6/19/2016 07:23, Doc O'Leary wrote:
>> For your reference, records indicate that
>> $Bill <news@todbe.com> wrote:
>>
>>> But an expert would know that and what I was attempting to do was
>>> indeed logical
>>
>> No, there’s really no logic in screwing with innerHTML in order to get the job done.  An expert would do something more sane, like altering the CSS display property of the elements in question.
>
> You're wrong - the logic is there, the knowledge of the language/workings isn't.
> And I'm a neophyte not an expert - what I did got the job done - when I have the
> knowledge, I'll find better/more apropos ways to do things.

BTW, if you have a better way to do it, feel free to show it instead of complaining
about my lack of JS knowledge.  This is supposed to be a learning environment.

[toc] | [prev] | [next] | [standalone]


#30760

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2016-06-26 12:53 +0200
Message-ID<XnsA6338326FECFeejj99@194.109.6.166>
In reply to#30698
$Bill <news@todbe.com> wrote on 20 Jun 2016 in comp.lang.javascript:

> On 6/20/2016 04:13, $Bill wrote:
>> On 6/19/2016 07:23, Doc O'Leary wrote:
>>> For your reference, records indicate that
>>> $Bill <news@todbe.com> wrote:
>>>
>>>> But an expert would know that and what I was attempting to do was
>>>> indeed logical
>>>
>>> No, there’s really no logic in screwing with innerHTML in order to get
>>> the job done.  An expert would do something more sane, like altering
>>> the CSS display property of the elements in question. 
>>
>> You're wrong - the logic is there, the knowledge of the
>> language/workings isn't. And I'm a neophyte not an expert - what I did
>> got the job done - when I have the knowledge, I'll find better/more
>> apropos ways to do things. 
> 
> BTW, if you have a better way to do it, feel free to show it instead of
> complaining about my lack of JS knowledge.  This is supposed to be a
> learning environment. 

Please don't see arguments against your idea as arguments against you.

You will see, imho, that discussions will start to be a joy in themselves.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#30761

From$Bill <news@todbe.com>
Date2016-06-26 16:22 -0700
Message-ID<nkpo3t$f2q$2@dont-email.me>
In reply to#30760
On 6/26/2016 03:53, Evertjan. wrote:
>
> Please don't see arguments against your idea as arguments against you.

Criticism with no constructive return/alternate information is useless/destructive.
He had no argument other than don't do it that way (even though it worked for you).

> You will see, imho, that discussions will start to be a joy in themselves.

You're a joy in just your being.

[toc] | [prev] | [next] | [standalone]


#30764

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2016-06-27 10:49 +0200
Message-ID<XnsA6346E29E26F2eejj99@194.109.6.166>
In reply to#30761
$Bill <news@todbe.com> wrote on 27 Jun 2016 in comp.lang.javascript:

> On 6/26/2016 03:53, Evertjan. wrote:
>>
>> Please don't see arguments against your idea as arguments against you.
> 
> Criticism with no constructive return/alternate information is
> useless/destructive.

Why is uselessnes destructive?
Why should responses be usefull?
After all, the measure of usefullness depends on the reader.

> He had no argument other than don't do it that way

Even if so, I don't remember and want to, 
don't mistake that as critisism on your person.

> (even though it worked for you). 

I don't indulge in slavery. ;-)

>> You will see, imho, that discussions will start to be a joy in
>> themselves. 
> 
> You're a joy in just your being.

"Makarioi hoi ptochoi to pneumati"?

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#30766

FromDoc O'Leary <droleary@2015usenet1.subsume.com>
Date2016-06-27 13:58 +0000
Message-ID<nkrbe8$u4k$1@dont-email.me>
In reply to#30761
For your reference, records indicate that 
$Bill <news@todbe.com> wrote:

> He had no argument other than don't do it that way (even though it worked for you).

I told you to use CSS.  I told you the specific property to set.  What 
more are you *demanding* that I do for you?  If you don’t have the 
gumption to do any of the dirty work yourself, don’t post to an 
international forum asking for help.  If you need someone to do all 
the work for you, hire an employee.

-- 
"Also . . . I can kill you with my brain."
River Tam, Trash, Firefly

[toc] | [prev] | [next] | [standalone]


#30762

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2016-06-27 05:43 +0200
Message-ID<5193546.lOV4Wx5bFT@PointedEars.de>
In reply to#30698
$Bill wrote:

> On 6/20/2016 04:13, $Bill wrote:
>> On 6/19/2016 07:23, Doc O'Leary wrote:
>>> For your reference, records indicate that
>>> $Bill <news@todbe.com> wrote:
>>>> But an expert would know that and what I was attempting to do was
>>>> indeed logical
>>> No, there’s really no logic in screwing with innerHTML in order to get
>>> the job done.  An expert would do something more sane, like altering the
>>> CSS display property of the elements in question.
>> You're wrong - the logic is there, the knowledge of the language/workings
>> isn't. And I'm a neophyte not an expert - what I did got the job done -
>> when I have the knowledge, I'll find better/more apropos ways to do
>> things.
> 
> BTW, if you have a better way to do it, feel free to show it instead of
> complaining about my lack of JS knowledge.  This is supposed to be a 
> learning environment.

He told you what he thinks you should do.  Which part of it do you not 
understand?  See the FAQ.

In this case, however, I think you should switch the versions by making an 
HTTP request and changing the content accordingly, either with XHR in the 
background or with the classic approach of passing a parameter to the 
server-side script, *because the data of a TV Guide can have changed in the 
meantime*.  

The former might be what you are up to; depending on the complexity of the 
presentation, indeed it might be better to request the HTML instead of just 
JSON, and replace the relevant markup instead of individual parts from the 
JSON data.  In the case of a table, you should then rewrite the whole table 
using the “innerHTML” property as that appears to be much faster than the 
alternatives.

<http://www.quirksmode.org/dom/innerhtml.html>

Note that the results there are *old*, so do your own tests with “Test now”.

And get a real name if you want to be taken seriously here.  That goes to 
all of you – this is _not_ a chat room.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

[toc] | [prev] | [next] | [standalone]


#30763

FromJohn Harris <niam@jghnorth.org.uk.invalid>
Date2016-06-27 09:38 +0100
Message-ID<8cp1nbtsva7bbchq8niqumuv7nts69sies@4ax.com>
In reply to#30762
On Mon, 27 Jun 2016 05:43:24 +0200, Thomas 'PointedEars' Lahn
<PointedEars@web.de> wrote:


  <snip>
>And get a real name if you want to be taken seriously here.  That goes to 
>all of you – this is _not_ a chat room.

But Thomas said earlier :
> you do not substantiate your claim, so we can safely assume it is 
> nonsense based on wishful thinking and insufficient testing.

  John

[toc] | [prev] | [next] | [standalone]


#30765

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2016-06-27 11:00 +0200
Message-ID<XnsA634700E4352Aeejj99@194.109.6.166>
In reply to#30763
John Harris <niam@jghnorth.org.uk.invalid> wrote on 27 Jun 2016 in 
comp.lang.javascript:

> But Thomas said earlier :
>> you do not substantiate your claim, so we can safely assume it is 
>> nonsense based on wishful thinking and insufficient testing.

Wishful thinking can become true:
"I think the sun will come up tomorrow again!"

"insufficient" in whose eyes?

> <niam@jghnorth.org.uk.invalid>

Lacking wishfull thinking, 
perhaps change that to the fully tested:

<niam@jghnorth.org.uk.brexit>

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#30783

FromJohn Harris <niam@jghnorth.org.uk.invalid>
Date2016-06-28 10:04 +0100
Message-ID<0df4nbpu3cnniklk3vk81t16urq9t26uan@4ax.com>
In reply to#30765
On Mon, 27 Jun 2016 11:00:55 +0200, "Evertjan."
<exxjxw.hannivoort@inter.nl.net> wrote:

>John Harris <niam@jghnorth.org.uk.invalid> wrote on 27 Jun 2016 in 
>comp.lang.javascript:
>
>> But Thomas said earlier :
>>> you do not substantiate your claim, so we can safely assume it is 
>>> nonsense based on wishful thinking and insufficient testing.
>
>Wishful thinking can become true:
>"I think the sun will come up tomorrow again!"
>
>"insufficient" in whose eyes?
  <snip>

Are you sure you're permitted to criticise what Thomas has said ?

  John

[toc] | [prev] | [next] | [standalone]


#30785

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2016-06-28 12:13 +0200
Message-ID<XnsA6357C71A6FF7eejj99@194.109.6.166>
In reply to#30783
John Harris <niam@jghnorth.org.uk.invalid> wrote on 28 Jun 2016 in 
comp.lang.javascript:

> On Mon, 27 Jun 2016 11:00:55 +0200, "Evertjan."
> <exxjxw.hannivoort@inter.nl.net> wrote:
> 
>>John Harris <niam@jghnorth.org.uk.invalid> wrote on 27 Jun 2016 in 
>>comp.lang.javascript:
>>
>>> But Thomas said earlier :
>>>> you do not substantiate your claim, so we can safely assume it is 
>>>> nonsense based on wishful thinking and insufficient testing.
>>
>>Wishful thinking can become true:
>>"I think the sun will come up tomorrow again!"
>>
>>"insufficient" in whose eyes?
>   <snip>
> 
> Are you sure you're permitted to criticise

This is not a Q of permission, but of reasonable behavour.

Criticizing a person is bad and in a way nonsensical.

Criticizing ideas is a must.

Criticizing ideas should be done following probable/perceived facts and 
logical thinking, while stearing clear of authority or dogma.

>  what Thomas has said ?

The ideas of Thomas should be met with the same scepticism,
but there is no need of criticizing his person.

> org.uk.invalid>

Still "invalid" in stead of "brexit"?
Ah, "Harris", you are a Scottish lad, I presume.


-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#30802

FromJohn Harris <niam@jghnorth.org.uk.invalid>
Date2016-06-29 16:16 +0100
Message-ID<9ip7nbdujl7lp8lad48fofok4me65p9amt@4ax.com>
In reply to#30785
On Tue, 28 Jun 2016 12:13:59 +0200, "Evertjan."
<exxjxw.hannivoort@inter.nl.net> wrote:

>John Harris <niam@jghnorth.org.uk.invalid> wrote on 28 Jun 2016 in 
>comp.lang.javascript:

  <snip>
>> org.uk.invalid>
>
>Still "invalid" in stead of "brexit"?
>Ah, "Harris", you are a Scottish lad, I presume.

... or London, or Gibraltar, or one of several other places.

  John

[toc] | [prev] | [next] | [standalone]


#30803

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2016-06-29 19:48 +0200
Message-ID<XnsA636C97854B91eejj99@194.109.6.166>
In reply to#30802
John Harris <niam@jghnorth.org.uk.invalid> wrote on 29 Jun 2016 in 
comp.lang.javascript:

> On Tue, 28 Jun 2016 12:13:59 +0200, "Evertjan."
> <exxjxw.hannivoort@inter.nl.net> wrote:
> 
>>John Harris <niam@jghnorth.org.uk.invalid> wrote on 28 Jun 2016 in 
>>comp.lang.javascript:
> 
>   <snip>
>>> org.uk.invalid>
>>
>>Still "invalid" in stead of "brexit"?
>>Ah, "Harris", you are a Scottish lad, I presume.
> 
> ... or London, or Gibraltar, or one of several other places.

Quite.


-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#30720

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2016-06-25 16:40 +0200
Message-ID<XnsA632A9A8F2BC9eejj99@194.109.6.166>
In reply to#30689
$Bill <news@todbe.com> wrote on 19 Jun 2016 in comp.lang.javascript:

>>> What do you expect on my first try at using Javascript?  ;)
>>
>> I am critisizing factual code, not your coding.
>>
>> And the coding is illogical, whether you are a novice or an expert.
> 
> But an expert would know that and what I was attempting to do was
> indeed logical - just didn't know how to render the logic.  :)

Please consider arguments, not authority, as then you would need arguments 
to define the specific authority.

And again, I did not criticize what you were doing, but the code.

If you did know how to render the code, the logic of the submitted code 
would not change.

> Yes.  Still needs some tweaking on some tables, 
> but the concept is working.
> Thanks again for the help.

"Working" seems to me not about concepts.

Sorry for teasing you, Bill, it is irresistable.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.lang.javascript


csiph-web