G
gotcha
I need to be able to split data such as this in a line:
Part A23423 Price 45.00
into just this A23423 and put that into a form field that I can post.
I have the following code, but I can't figure out how to just get only
that part number out of the line and put it in a post form.
<script>
var thisValue = '<%=(Recordset1.Fields.Item("LINEPart").Value)%>'
arrayOfValues = thisValue.split(' ');
for (var i=0; i < arrayOfValues.length; i++)
document.write(arrayOfValues + ' <br> ');
</script>
<form name="form1" method="post" action="">
<input name="textfield" type="text" value="WHAT DO I NEED TO PUT
HERE">
</form>
Thanks for any help in advance,
(e-mail address removed)
Part A23423 Price 45.00
into just this A23423 and put that into a form field that I can post.
I have the following code, but I can't figure out how to just get only
that part number out of the line and put it in a post form.
<script>
var thisValue = '<%=(Recordset1.Fields.Item("LINEPart").Value)%>'
arrayOfValues = thisValue.split(' ');
for (var i=0; i < arrayOfValues.length; i++)
document.write(arrayOfValues + ' <br> ');
</script>
<form name="form1" method="post" action="">
<input name="textfield" type="text" value="WHAT DO I NEED TO PUT
HERE">
</form>
Thanks for any help in advance,
(e-mail address removed)