Interacting with controls in data access page -
05-06-2004
, 06:01 PM
I have an Access app that I exported to a Data Access Page, and I need
to understand how to read the text contents of certain controls and
then plug them into an input statement in a java script:
<SCRIPT type=text/javascript>
var str1
document.write('<input type=file name="sourcefile" value=str1>');
document.write('<input type="submit" value="Upload" name="submit">');
</SCRIPT>
In other words, I want to grab some text out of a field with Access
data and stuff it into the input statement (str1 in the above
axample).
What is the syntax used to read the value of the Access field into
str1?
Thanks in advance,
Jim Hibert |