473,396 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Remote Price javascript code needs to be translated

tjc0ol
26
Hi guys,

Can this remote price javascript code below:

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

Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript" language="javascript">
  2. <!--//
  3.   ....
  4.   ....
  5.   .....
  6. //-->
  7. <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.org 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
Aug 15 '08 #1
3 1437
hsriat
1,654 Expert 1GB
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.
Aug 15 '08 #2
rnd me
427 Expert 256MB
there is some other issue with your procedure.

are you using CDATA wraps inside the script tags?
Aug 15 '08 #3
tjc0ol
26
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
Aug 18 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Martin Waller | last post by:
Hello, I've been playing with the idea of just how to use an ASP page to provide a remote function call. In an ideal world this would be a web service but how can you do it if restricted to ASP...
1
by: Kevin | last post by:
Hi All, Been reading post and thought this might be the right place to ask this. I have some static html pages. On hese pages there is an item that can and does change from day to day. What i...
10
by: Ed | last post by:
Hoping someone an assist me urgently. I would truly appreciate and help. I have a form and prices are based on 'price break'. 1.The price break fields work fine, but I cannot for the life of me...
8
by: robert | last post by:
Hello, I want to put (incrementally) changed/new files from a big file tree "directly,compressed and password-only-encrypted" to a remote backup server incrementally via FTP,SFTP or DAV.... At...
2
by: Marcus | last post by:
Here is a toy problem describing what I want to do: I have a web page with a single IMG element (say for a 128 x 128 "screen") which is initially blank (image=black pixels). I have AJAX code...
8
by: jimmyg123 | last post by:
Hi, I'm trying to do something similar. This is my javascript <script type='text/javascript'> function totalise(price,total) { var qty = window.document.getElementById('qty').value; var...
2
by: Peter Michaux | last post by:
Douglas Crockford doesn't seem to like JavaScript's built-in syntax for building new objects based on a prototype object. The constructor function, its prototype property and the "new" keyword all...
0
by: Luke Kenneth Casson Leighton | last post by:
On Sep 3, 10:02 pm, bearophileH...@lycos.com wrote: 1200 lines of code for the compiler, and about... 800 for a basic suite of builtin types (Dict, List, set, string). ...
12
by: brossyg | last post by:
I have a very simple price times quantity calculation. The input is STWCORQuant: <input name="STWCORQuant" class="contactitalicbold" id="STWCORQuant" onChange="javascript:STWCORPrice();"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.