Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9186339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T19:30:09+00:00 2026-06-17T19:30:09+00:00

For a webbased application we want to be able to let people sign on

  • 0

For a webbased application we want to be able to let people sign on an Ipad.running IOS
We use a canvas element to draw on and then upload it to an IBM I Service.running net.data
It works fine on chrome and firefox on a pc.

on an ipad in safari or chrome though the request seems to be empty.
I am searching for hours and don’t seem to be able to find out what is wrong with this code.

Does anybody Know Who I Could Fix this?
We are not using jquery by the way.
belowe is part of the code we use

thanks!
j.v.

GUI.Signature.dataURItoBlob = function(dataURI) {
  var binary = atob(dataURI.split(',')[1]);;
  var array = [];
  var content = null;
  for(var i = 0; i < binary.length; i++) {
    array.push(binary.charCodeAt(i));
  }
  content= new Uint8Array(array);
  return new Blob([content], {type: 'image/jpeg'}); 
};


GUI.Signature.send = function(){
  if(!GUI.Signature.isEnabled()){return;}
  var request = new XMLHttpRequest();
  var dataURL = GUI.Signature.canvas.toDataURL('image/jpeg', 0.8);
  var blob = GUI.Signature.dataURItoBlob(dataURL);
  var fd = new FormData(GLOBAL.activeForm);
  var fsUri = GLOBAL.activeForm.action.replace("MAIN","UPLOAD");

  fd.append("signature", blob);
  fd.append("blobName","signature" );

  request.open('POST', fsUri, false);
  request.send(fd);

};
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T19:30:11+00:00Added an answer on June 17, 2026 at 7:30 pm

    the problem is indeed appending the Uint8Array tot the Blob object.
    Wrapping the Uint8Array in an ArrayBuffer solves the problem

    it was answerd here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi i am developing a webbased ftp client application i want to get client
Context: iPad, web-based inbrowser application I want to display the Open in... that allows
I got a Joomla iframe which displays a webbased application. Now I want to
I'm building a simple web based forum application. I want to allow users to
i want to send request to Google analytics in non web based application(Windows based
I have a web based application that uses Cocoa/CocoaTouch's UIWebView. I want (need?) to
I want to build a web-based information management application for a client. The application
I want to develop a website web chat application like yahoo. Only difference is
I am developing a webbased business application (JS/node) that, on some client machines, needs
I have developed a web based application using STRUTS 2.0 and I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.