Skip navigation
Currently Being Moderated

Problem with JavaScript in DPS

Aug 30, 2012 7:47 AM

Tags: #javascript

Hello,

i have little problem with one HTML page in DPS. We've created HTML form, which is formatting output with JavaScript and then passing to local mail client via mailto. It works nicely in Safari on desktop, it works in Safari on iPad BUT it don't work in DPS, when we use it as HTML content (frame on page where form is loaded). Unfortunately, there is no way how to learn what's wrong - on iPad it works, it's not working just in DPS (and it's not working in Viewer on desktop too).

 

Anyone have any idea what to do?

 

Script is fairly simple, it's my compilation of other works, because i'm not JS programmer, just i'm skilled with google-copy-paste... So there can be some VERY trivial error, but i don't know correct syntax...

 

very simple version of this form, which is not working in DPS (but everywhere else), is here

http://dl.optio.cz/mailtoExample.html

 

Thanks for any help!

 
Replies
  • Currently Being Moderated
    Aug 30, 2012 9:36 AM   in reply to Martin Lér

    How exactly is this being displayed. Is it an HTML article?

     

    Your Javascript looks pretty sound, don't think its an error there.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 30, 2012 10:38 AM   in reply to Martin Lér

    As in a web content overlay?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 30, 2012 10:47 AM   in reply to Martin Lér

    No problem, I'm going to give this a go myself. I'm curious about it.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 31, 2012 9:00 AM   in reply to Martin Lér

    I've tried to get it to work, but I think that there must be some restriction on form submission. It should work fine if you link to the form through the DPS browser. Could you try that?

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 11, 2012 11:30 AM   in reply to Martin Lér

    I couldn't get it to work at all. I would try maybe hosting the form on your own website and redirecting users there? That definitely should work, but someone here might have a more elegant solution. I'm not that huge of a Javascript wizard.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points