Hello everybody,
I’m kind of teaching myself html as I code the webpages for my site. I want to embed an .asp call into my webpage, to show the quantity in stock of a particular item.
I’m coding something like the below:
where “?id=” refers to the product ID, and “switch=1” calls up the quantity on hand at my distributor.
<span style=”color: rgb(255, 0, 0);”><span
style=”font-size: large;”>
Stock:
<script>alert( <%=
wwWebUtils.EncodeJsString(“http://www.mydistributor_api.asp?id=8731&switch=1”)
%> );</script></span></span><br>
It doesn’t seem to work though! I’m new to coding web pages, any help anyone has would be appreciated!!!
Bill