I am stuck and need help. (pretty new to HTML, but I’m learning) ?
I have a web page that is designed as an output form (HTML object is printed as a report) – locally on a user’s PC
It is a process where I acesss a data base and retrieve various fields, generating JPGs as well. This works perfectly today.
flow is as follows:
1)Appl reads database & retrieves needed data
Example field1 = GOLFER
field2 = Male
3) Users double click on the output.html object to see their
results-they can print it out like a word doc
Here is my need:
I merely want to make this more robust and automatically check a checkmark box (based on my fields I retrieved above)
example HTML:
<input type=”checkbox” name=”capped” checked=”checked” accesskey=”&capped” />
I know this (checked=”checked”) is how it looks when it is the check box is checked manually. How can I dynamically check the above checkmark box at load time (remember there is no user intervention) Do I use Javascript? Is there any other ways to dynamically load fields?
thanks!