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


Groups > comp.lang.javascript > #30421

Re: convert image to base 64 for an AJAX function

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: convert image to base 64 for an AJAX function
Date 2016-05-11 02:07 +0200
Organization PointedEars Software (PES)
Message-ID <5530486.xRAEI50JIJ@PointedEars.de> (permalink)
References <9dfa94b8-4048-4d7d-8514-711ab99d9689@googlegroups.com> <1476389.g1nVMNzP0Y@PointedEars.de> <5262505f-9b51-403f-aa6a-a5204bbce7a6@googlegroups.com>

Show all headers | View raw


JRough wrote:
^^^^^^

> [full quote]

Learn to quote.

> I now get the error on line 12 where I send the request:
> xhttp.send(null);
> and on line 62 where I call the first function:
>  if (event.target ==  buttons[0] ){
>                 getImage1Data();
>             }
>             if (event.target== buttons[1] ) {
>                 getImage2Data();
>             }
>     };
> It still says undefined, not found
> 
> ----
> sample.js:12 GET http://localhost:8888/mydir/undefined 404 (Not
> Found)

AISB.

<http://www.catb.org/esr/faqs/smart-questions.html>

-- 
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.

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


Thread

convert  image to base 64 for an AJAX function JRough <janis.rough@gmail.com> - 2016-05-09 18:12 -0700
  Re: convert  image to base 64 for an AJAX function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-05-10 05:42 +0200
    Re: convert  image to base 64 for an AJAX function John Harris <niam@jghnorth.org.uk.invalid> - 2016-05-10 09:03 +0100
      Re: convert  image to base 64 for an AJAX function JRough <janis.rough@gmail.com> - 2016-05-11 18:10 -0700
    Re: convert  image to base 64 for an AJAX function JRough <janis.rough@gmail.com> - 2016-05-10 14:51 -0700
      Re: convert  image to base 64 for an AJAX function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-05-11 02:07 +0200
        Re: convert  image to base 64 for an AJAX function JRough <janis.rough@gmail.com> - 2016-05-12 11:57 -0700
    Re: convert  image to base 64 for an AJAX function JRough <janis.rough@gmail.com> - 2016-05-10 19:26 -0700

csiph-web