"please-answer-here" <> kirjoitti
viestissä:42b3ec74$0$78279$ city.dk...
> Jc wrote:
>> please-answer-here wrote:
>>> done 100's of this before and have been sterring and sterring at the
>>> code
>>>
>>> response.write( "<form name=""fundneordrer"" action=""scandia.asp""
>>> method=""POST"" onSubmit=""return chk_sel_ordre();""> ")
>>> response.write("<input type=""submit"" name=""hentordre""
>>> value=""vis ordre"">")
>>>
>>>
>>>
>>> WHY is it that chk_sel_ordre never gets executed?
>>
>> Looks like you're missing the closing form tag,
>
> Noop. the code above was snipped to exclude all the input/select details,
> but the </form> is included in the original script/code
>
>> assuming doubling up quotes is a valid technique for escaping quote
>> characters in what I
>> assume is VB code.
>
> Yes is actually a asp file with VB scripts
Instead of showing the asp source code, could you post what it generates?
Also, you didn't mention a) if the form is submitted (so that the function
is just not executed) or does the submitting fail also and b) can you launch
the function by other methods, for example <a href="#" onClick="return
chk_sel_ordre();">Launch it</a>.
--
"I am pro death penalty. That way people learn
their lesson for the next time." -- Britney Spears