[thelist] newbie help -- javascript return function value
Lee Kowalkowski
lee.kowalkowski at googlemail.com
Mon Jan 5 04:24:15 CST 2009
On 05/01/2009, Marc Cantwell <marc.cantwell at chinookmaterials.com> wrote:
> function rfino ()
> {
...
> document.write("RFI-" + month + day + year + hours + minutes + seconds
> + milliseconds)
> }
I'm not sure about embed goog spreadsheet form, but this would
normally create a new document, you should be using a return statement
here, e.g. return "RFI" + ...
> <input type="text" name="entry.22.single" value="" class="ss-q-short"
> id="entry_22" onclick="this.value=rfino;" />
onclick="this.value=rfino()"
--
Lee
More information about the thelist
mailing list