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


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

When i save file webpage reload

Started byjonas.thornvall@gmail.com
First post2017-01-21 17:34 -0800
Last post2017-01-23 13:59 +0100
Articles 5 — 3 participants

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


Contents

  When i save file webpage reload jonas.thornvall@gmail.com - 2017-01-21 17:34 -0800
    Re: When i save file webpage reload "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-01-21 22:06 -0800
    Re: When i save file webpage reload "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-22 18:08 +0100
      Re: When i save file webpage reload jonas.thornvall@gmail.com - 2017-01-23 02:20 -0800
        Re: When i save file webpage reload "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-23 13:59 +0100

#32247 — When i save file webpage reload

Fromjonas.thornvall@gmail.com
Date2017-01-21 17:34 -0800
SubjectWhen i save file webpage reload
Message-ID<94cd1e58-abc9-4dd1-b86d-49effdbfab0e@googlegroups.com>
When i save my canvas to a picture or my data as text, the webpage reload?
Can i avoid that to happen?

[toc] | [next] | [standalone]


#32250

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2017-01-21 22:06 -0800
Message-ID<0e587597-4100-48f9-9b49-b4d37a52d7e4@googlegroups.com>
In reply to#32247
jonas.t...@gmail.com wrote:
> When i save my canvas to a picture or my data as text, the webpage reload?
> Can i avoid that to happen?

I'm assuming this is related to your earlier reference to using an <a /> tag with a "download" attribute. If so, use the additional attribute target="_blank"

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


#32254

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2017-01-22 18:08 +0100
Message-ID<XnsA705B89463D52eejj99@194.109.6.166>
In reply to#32247
jonas.thornvall@gmail.com wrote on 22 Jan 2017 in comp.lang.javascript:

> When i save my canvas to a picture or my data as text, the webpage reload?

Why is this a question?

> Can i avoid that to happen?

Now go and debug.



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

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


#32261

Fromjonas.thornvall@gmail.com
Date2017-01-23 02:20 -0800
Message-ID<92ee6610-4d0f-4cf3-a4a0-5999bb55d5cf@googlegroups.com>
In reply to#32254
Den söndag 22 januari 2017 kl. 18:08:43 UTC+1 skrev Evertjan.:
> jonas.thornvall@gmail.com wrote on 22 Jan 2017 in comp.lang.javascript:
> 
> > When i save my canvas to a picture or my data as text, the webpage reload?
> 
> Why is this a question?
> 
> > Can i avoid that to happen?
> 
> Now go and debug.
> 
> 
> 
> -- 
> Evertjan.
> The Netherlands.
> (Please change the x'es to dots in my emailaddress)

Well i thought it was a generally known problem because i have no problem to load files images and text without refresh, but when i save both images and text from txt fields the page will reload.

And i thought it may be unwise to try debug, if it really was a problem with Javascript and not the code.

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


#32265

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2017-01-23 13:59 +0100
Message-ID<XnsA7068E43BDCADeejj99@194.109.6.166>
In reply to#32261
jonas.thornvall@gmail.com wrote on 23 Jan 2017 in comp.lang.javascript:

> Den söndag 22 januari 2017 kl. 18:08:43 UTC+1 skrev Evertjan.:
>> jonas.thornvall@gmail.com wrote on 22 Jan 2017 in comp.lang.javascript:
>> 
>> > When i save my canvas to a picture or my data as text, the webpage
>> > relo 
> ad?
>> 
>> Why is this a question?
>> 
>> > Can i avoid that to happen?
>> 
>> Now go and debug.

[please do not quote signatures on usenet, signature removed]

> Well i thought it was a generally known problem because i have no
> problem to load files images and text without refresh,

That is not an argument that something is 'generally known'.

> but when i save
> both images and text from txt fields the page will reload. 

That would depend on what you mean by 'save',
my meaning is selecting, rightclicking on the selected part,
and selecting 'copy'.

> And i thought it may be unwise to try debug, if it really was a problem
> with Javascript and not the code. 

1 Is there any Javascript that is not code ????

2 What reason would there be that a 'problem'
[I suppose you mean something happening that you DO NOT expect or wish,
or something NOT happening that you DO expect or wish]
cannot be narrowed down by debugging,
and should be faguely dropped in this NG,
as the NG will kindly do your debugging job?

I can imagine a miriad of ways your code could be in error,
but why guess some ad random?

Perhaps the way to go for you is to make a web-page that is as lean as 
possible, debug that, then give us the URL, and then tell us what you found 
by your debugging.

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

[toc] | [prev] | [standalone]


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


csiph-web