Hello, I am no PERL developer, but I got on a project where such knowledge is needed and someone needs to do the research. This function is seemingly not working with IE or Chrome either - incompatibility issue? The warning within the code does not show up anymore. Code looks something like this, kindly asking for support on the matter, if available. Thank you :

<script language=Javascript> function NSAG_onBodyUnload() { NSAG_OnUnload(); //; } … function NSAG_OnUnload() { var e = window.event; if(e.clientY < 0) { if(NSAG_IsValuesChanged() == true) { //var message = 'ACHTUNG!\n'; //message += 'Die Daten wurden noch nicht gespeichert!\n'; //message += 'Sind Sie sicher, dass Sie die Seite verlassen wo +llen ohne die Daten zu speichern?\n\n'; var messageT = ''; var message = 'ATTENTION!\n'; message += 'The data has not been saved!\n'; message += 'Are you sure that you would like to leave the site + without saving the modifications?\n\n'; messageT = 'ATTENTION!\nThe +data has not been saved!\nAre you sure that you would like to leave t +he site without saving the modifications?'; var o_Text = document.get +ElementsByName('NSAG_MSG_CLOSE_TICKET'); if((o_Text != null) && (o_Text[0] != null)) { message = o_Text.text; } if(messageT.length > 0) message = messageT; if(typeof evt == 'undefined') { evt = window.event; } if(evt) { evt.returnValue = message; } return message; } } } </script> <BODY class="tightPage" onload="onBodyLoad()" onunload="" onBe +foreUnload="NSAG_onBodyUnload()" > <!-- screenID: MRTicketPage-pb-4 --> <div id="ContentWrapper" class="MinWidth" > <div> <style type="text/css">

In reply to [OT] SUBS/NSAG_TicketPage_Cancel_Check.pl function not working by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.