By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,382 Members | 1,623 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,382 IT Pros & Developers. It's quick & easy.

Form Validation Pasting problem

P: n/a
Hi,

I will code a form valiation in javascript on one page and it will
work great, but when i paste it into another document even though ALL
the fields are correct it won't even work. unless i type it all over
again. I am using the VI editor, does anyone know of a good way to
transfer your scripts from one page to the other or something that
will parse my javascript to see if it is all right.
thanks,
Paul
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
swp
py*******@hotmail.com (pdy1013) wrote in message news:<61**************************@posting.google. com>...
Hi,

I will code a form valiation in javascript on one page and it will
work great, but when i paste it into another document even though ALL
the fields are correct it won't even work. unless i type it all over
again. I am using the VI editor, does anyone know of a good way to
transfer your scripts from one page to the other or something that
will parse my javascript to see if it is all right.

thanks,

Paul


is there a particular reason you are not putting the script into an
include file and using that same include file when needed?

<script language="JavaScript"
src="MyJavaScriptCodeIsInHere.js"></script>

swp
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.