Results 1 to 10 of 10
  1. #1
    ashpack is offline Member
    Join Date
    Aug 2013
    Posts
    6
    Rep Power
    0

    Default Any experience with AppyPie? Its changing "<" and ">" script tags to > and <

    As title says the code works fine in my browser but when adding it to the editor in AppyPie and saving it it changes "<" and ">" script tags to > and <

    Any ideas?

    Thanks

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,422
    Rep Power
    20

    Default Re: Any experience with AppyPie? Its changing "<" and ">" script tags to > and <

    Since the question doesn't have anything to do with Java, I've moved it here.

    Please explain what made you think this is related to Java. Failure to respond may lead to a ban.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    ashpack is offline Member
    Join Date
    Aug 2013
    Posts
    6
    Rep Power
    0

    Default Re: Any experience with AppyPie? Its changing "<" and ">" script tags to > and <

    A ban? A bit Harsh.

    Sorry I'm not a developer or a programmer I have no experience. I'm just trying to make an app and the calculator I'm trying to put in is not working properly. If this is not the right place to find help I would appreciate it if you could point me in the right direction.

    <style>
    .required
    {
    color: red;
    }

    input[type="submit"],
    input[type="button"],
    input[type="reset"]
    {
    padding: 6px 10px;
    padding: 0.428571429rem 0.714285714rem;
    font-size: 11px;
    font-size: 0.785714286rem;
    line-height: 1.428571429;
    font-weight: normal;
    color: #000;
    background-color: #e6e6e6;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6);
    background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
    background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
    background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
    background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
    border: 1px solid #d2d2d2;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
    }

    input[type=text],
    input[type=password],
    textarea
    {
    width: 80%;
    padding: 6px 2%;
    margin-left:0px;

    font-size: 1em;
    font-weight: normal;
    padding: 6px;
    color: #333;
    /*background-image: -ms-linear-gradient(top, #444444, #999999); /* IE10 */
    /*filter: progid:DXImageTransform.Microsoft.gradient(startCo lorStr='#22000000', EndColorStr='#00FFFFFF'); /* IE6?IE9 */
    /*background-image: -webkit-gradient(linear, left top, left bottom, from(#444444), to(#999999)); /* Saf4+, Chrome */
    background-image: -moz-linear-gradient(top, rgba(0,0,0,0.18), rgba(0,0,0,0) 4px, rgba(0,0,0,0) ); /* FF3.6 */
    background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.18), rgba(0,0,0,0) 4px, rgba(0,0,0,0) ); /* Chrome 10+, Saf5.1+ */
    background-image: -o-linear-gradient(top, rgba(0,0,0,0.18), rgba(0,0,0,0) 4px, rgba(0,0,0,0) ); /* Opera 11.10+ */
    background-image: linear-gradient(top, rgba(0,0,0,0.18), rgba(0,0,0,0) 5px, rgba(0,0,0,0) );
    border-top: solid 1px #aaa;
    border-left: solid 1px #aaa;
    border-bottom: solid 1px #ccc;
    border-right: solid 1px #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    outline: 0;
    }

    input[type=text]:focus,
    input[type=password]:focus,
    textarea:focus
    {
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(82, 168, 236, 0.6);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(82, 168, 236, 0.6);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(82, 168, 236, 0.6);
    border-color: rgba(82, 168, 236, 0.8);
    /*background-image: -ms-linear-gradient(top, #444444, #999999); /* IE10 */
    /*filter: progid:DXImageTransform.Microsoft.gradient(startCo lorStr='#22000000', EndColorStr='#00FFFFFF'); /* IE6?IE9 */
    /*background-image: -webkit-gradient(linear, left top, left bottom, from(#444444), to(#999999)); /* Saf4+, Chrome */
    background-image: -moz-linear-gradient(top, rgba(0,0,0,0.19), rgba(0,0,0,0) 5px, rgba(0,0,0,0) ); /* FF3.6 */
    background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.19), rgba(0,0,0,0) 5px, rgba(0,0,0,0) ); /* Chrome 10+, Saf5.1+ */
    background-image: -o-linear-gradient(top, rgba(0,0,0,0.19), rgba(0,0,0,0) 5px, rgba(0,0,0,0) ); /* Opera 11.10+ */
    background-image: linear-gradient(top, rgba(0,0,0,0.19), rgba(0,0,0,0) 5px, rgba(0,0,0,0) );
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    }

    </style>

    <!--&lt;script type='text/javascript'>
    function perc2() {
    var DailyDead = document.form1.dd.value;
    var RemStock = document.form1.rs.value;

    if(DailyDead == "" || RemStock == "")
    {
    document.getElementById("errorField").innerHTML="P lease fill all the required fields";
    }
    else
    {
    var c = DailyDead/RemStock;
    var answer = c*100;

    if(isNaN(answer))
    {
    document.getElementById("errorField").innerHTML="E rror calculating";
    }
    else
    {
    document.form1.total2.value = answer;
    }
    }
    }
    &lt;/script>//-->


    <form name="form1">
    <table cellspacing="0" cellpadding="5px" border="0" style="min-width: 260px; width: 100%;">
    <tbody>
    <tr>
    <td align="middle"><b><font size="4">CDMR Calculation</font></b></td>
    </tr>
    <tr>
    <td id="errorField" class="required"></td>
    </tr>
    <tr>
    <td>Daily Dead</td>
    </tr>
    <tr>
    <td><input type="text" name="dd"> <span class="required">*</span></td>
    </tr>
    <tr>
    <td>Remaining Stock</td>
    </tr>
    <tr>
    <td><input type="text" name="rs"> <span class="required">*</span></td>
    </tr>
    <tr>
    <td>Answer:</td>
    </tr>
    <tr>
    <td><input type="text" name="total2"> %</td>
    </tr>
    <tr>
    <td></td>
    </tr>
    <tr>
    <td><input onclick="perc2()" type="button" value="Calculate"> &nbsp; <input type="reset" value="Reset"></td>
    </tr>
    </tbody>
    </table>
    </form>

  4. #4
    gimbal2 is online now Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,149
    Rep Power
    6

    Default Re: Any experience with AppyPie? Its changing "<" and ">" script tags to > and <

    Well since you're not using Java, asking in a site called java-forums.org does not seem like the way to go.

    Try stackoverflow.com
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  5. #5
    ashpack is offline Member
    Join Date
    Aug 2013
    Posts
    6
    Rep Power
    0

    Default Re: Any experience with AppyPie? Its changing "<" and ">" script tags to > and <

    When I put the source code in it changes the tags below the other way round

    <script type="text/javascript"></script>
    And to answer your question the fact the quote above has javascript in it brought me here...

  6. #6
    ashpack is offline Member
    Join Date
    Aug 2013
    Posts
    6
    Rep Power
    0

    Default Re: Any experience with AppyPie? Its changing "<" and ">" script tags to > and <

    Quote Originally Posted by gimbal2 View Post
    Well since you're not using Java, asking in a site called java-forums.org does not seem like the way to go.

    Try stackoverflow.com
    Thankyou.

  7. #7
    ashpack is offline Member
    Join Date
    Aug 2013
    Posts
    6
    Rep Power
    0

    Default Re: Any experience with AppyPie? Its changing "<" and ">" script tags to > and <

    Forgive me if i sound stupid.... But why does it say Javascript if its not?!

    <!--&lt;script type='text/javascript'>
    function perc2() {
    var DailyDead = document.form1.dd.value;
    var RemStock = document.form1.rs.value;

    if(DailyDead == "" || RemStock == "")
    {
    document.getElementById("errorField").innerHTML="P lease fill all the required fields";
    }
    else
    {
    var c = DailyDead/RemStock;
    var answer = c*100;

    if(isNaN(answer))
    {
    document.getElementById("errorField").innerHTML="E rror calculating";
    }
    else
    {
    document.form1.total2.value = answer;
    }
    }
    }
    &lt;/script>//-->

  8. #8
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,422
    Rep Power
    20

    Default Re: Any experience with AppyPie? Its changing "<" and ">" script tags to > and <

    It is JavaScript.

    JavaScript isn't Java.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  9. #9
    gimbal2 is online now Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,149
    Rep Power
    6

    Default Re: Any experience with AppyPie? Its changing "<" and ">" script tags to > and <

    Like you already told in the previous thread created by ashpack... And a simple google could have indicated a hundred times over...
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  10. #10
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,422
    Rep Power
    20

    Default Re: Any experience with AppyPie? Its changing "<" and ">" script tags to > and <

    Um, that was Kevin.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 0
    Last Post: 12-07-2012, 09:29 AM
  2. Replies: 3
    Last Post: 10-30-2012, 04:06 PM
  3. Replies: 1
    Last Post: 05-30-2012, 10:30 AM
  4. Replies: 2
    Last Post: 01-24-2009, 07:56 PM
  5. Replies: 1
    Last Post: 10-20-2008, 08:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •