I have a similar issue (new to dreamweaver)
ASP VB Dreamweaver 8
I have a form with code that updates some sql tables with
data from some
text fields
I have :
<td><input name="submit2" type="submit"
value="Insert record" /></td>
which works fine.
I have added 2 browse buttons that browse to files and a
button uploads them
to the server with:
<input name="submit" type="submit" value="Upload the files
>>" />
The problem with the above is the client has to press 2
buttons. One to
update the databse & one to upload the files. I need to
achieve this on one
button.
I do not understand what the syntax of submitting a form is.
Is there anyway to achive this or any simple examples to walk
me through
what happens on a submit form?
Cheers
SteveW
"Julian Roberts" <nospam@charon.co.uk> wrote in message
news:en1lgj$ngd$1@forums.macromedia.com...
> In this particular case, you wouldn't really need to use
javascript. You
> could do a HTTP post on the server. In ASP, one can use
the MSXML object.
> The form can be posted to the destination URL without
passing browser
> control.
>
> The use of javascript in a website is a bit more complex
than saying "yes,
> it's a good idea" or "no, it's a bad idea". It depends
on the nature of
> the pages. My own view is that public facing browsable
by all pages don't
> really need to use too much javascript anyway to
function. On the other
> hand, for intranets or member websites, it quite
conceivable that the
> owner insist that users have javascript/cookies switched
on. So, one can't
> really generalise.
>
> --
> Jules
>
http://www.charon.co.uk/charoncart
> Charon Cart 3
> Shopping Cart Extension for Dreamweaver MX/MX 2004
>
>
>
>
>