Forums

This topic is locked

Mixing ASP and JavaScript on page?

Posted 26 Feb 2007 18:33:22
1
has voted
26 Feb 2007 18:33:22 Dennis Buttery posted:
Hi all,

I'm new here so this may already have been asked & answered ...

1) I have a HTML form on a page to collect user info.
2) I have a JavaScript function that validates the form and returns true/false on validation result.
3) I have some ASP code that formats a mail message based on the form fields and e-mails it ...

Problem: #2 and #3 do not work together!

I can get one or the other to work but not both.

I have tried:
a) Using the standard Submit button and call the validation from 'onClick'
b) Moving the ASP code to a separate .asp page and calling it in the Form 'action'
c) Every other idea I could come up with...

What is the trick here???

Thanks in advance for any help you can provide!

-Dennis

Replies

Replied 08 Mar 2007 05:31:47
08 Mar 2007 05:31:47 Alpa Barot replied:
Hey!!

Your Forum rocks!! I have a querry…
- “Seeking experienced programmer with following skills: strong browser UI background, specifically in JavaScript, AJAX, CSS, HTML. Also must have good system & software design skills, e.g. OOP. C++/C knowledge a plus”

There is this amazing site that I came across where u can make money by answering this query and sharing information…check it out here’s the link www.myndnet.com/login.jsp?referral=alpa83&channel=A74

The coolest part is…every time ur information gets sold u get paid for it!!
I signed it for it.. very cool stuff… u can also mail me at

Cheers!
Alpa

Reply to this topic