Jim
|
Posted: 04/16/2006, 10:02 AM |
|
Hi all
I'm passing 3 parameters from one page to another via a link that contains
the value for all three and showing them as labels. I've added a button that
calls a function on the client side below is the html script for the page:
The question is how do I take the values of the labels and pass them to this
function on the client side and where would I insert them?
example would be greatly appreciated.
<html>
<head>
<meta name="GENERATOR" content="CodeCharge Studio 2.3.2.24">
<title>inspect</title>
</head>
<script type="text/vbscript" lang="vbscript">
<!--
Function OnInspect()
Dim utils
Set utils = CreateObject("inspection.Utils")
utils.InitiateInspection "ITNBR" , "ORDNO", "QTYOR"
End Function
// -->
</script>
<body>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"><strong>Part Number:</strong> </p>
<p align="center"> {ITNBR}</p>
<p align="center"><strong>Order Number:</strong> </p>
<p align="center"> {ORDNO}</p>
<p align="center">Qty</p>
<p align="center">{QTYOR}</p>
<p align="center"><input id="Button1" type="button" value="inspect this
item" name="Button1" onclick="OnInspect()" title="Click to start inspection
process"></p>
</body>
</html>
Regards
Jim
|
|
|
dragoon
Posts: 173
|
Posted: 04/16/2006, 4:15 PM |
|
either you make use of some ids (put the labels inside divs or spans with distinct ids - and call them in js: document.getElementById('div_1") and so on...)
or make another 3 lables directly in the javascript code ...
|
|
|
|