Remote Price javascript code needs to be translated

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tjc0ol
    New Member
    • Nov 2007
    • 26

    Remote Price javascript code needs to be translated

    Hi guys,

    Can this remote price javascript code below:

    Code:
    <script type="text/javascript" language="javascript" src="http://www.remoteprice.com/data.asp?storeid=00000&itemcode=00420701089&type=1"></script>
    be translated as follows?

    Code:
    <script type="text/javascript" language="javascript">
    <!--//
      ....
      ....
      .....
    //-->
    <script>
    The problem here is if I used the code above and paste it on my html pages, the html validator i.e. validator.w3.or g won't allow it to validate because the cause of error is the remote code javascript code.

    If that code can be translated maybe that can help me validate my html pages. And if can be translated, how to do it?

    Thanks in advance. -tj
  • hsriat
    Recognized Expert Top Contributor
    • Jan 2008
    • 1653

    #2
    Why are you copying the code? Just use the same script tag with src as above. And I doubt if it would work after you copy it, as I see the JS is dynamic with that asp extension.

    Comment

    • rnd me
      Recognized Expert Contributor
      • Jun 2007
      • 427

      #3
      there is some other issue with your procedure.

      are you using CDATA wraps inside the script tags?

      Comment

      • tjc0ol
        New Member
        • Nov 2007
        • 26

        #4
        Thanks for replying guys and for the time.. Actually it is provided by our shopping cart host - it is only a javascript link and I just figured out why it can't be validate because of the "&" which needs to be converted first in &amp; then validate. -tj

        Comment

        Working...