| View previous topic :: View next topic |
| Author |
Message |
Krabik Enthusiastic Coder
Joined: 15 Mar 2005 Posts: 62
|
have validation script that loops through all the forms in a document. (some of you have probably seen it at work).
well, I'm working on the new version and i have a small problem.
when I have a form:
<FORM name="MyForm" id="MyForm"....
[form object].id returns a string: 'MyForm'
but
[form object].name returns an object, WHY?
NB.:
I'll post an url later....
Reply with quote
|
| |
|
|
Jake Enthusiastic Coder
Joined: 15 Mar 2005 Posts: 68
|
Hmmm.... this is weird.... surely the desired response would be a string too.
I dunno bout this mate.
Reply with quote
|
| |
|
|
Jony Enthusiastic Coder
Joined: 18 Mar 2005 Posts: 71
|
More Javascript madness. You've got server-side validation too right?
Reply with quote
|
| |
|
|
Krabik Enthusiastic Coder
Joined: 15 Mar 2005 Posts: 62
|
yep. I've got both...
but i'd like that to work because I want the script to be a plug in.
basically, you add it to the page:
<SCRIPT src=watever....
and it will automatically sort out all the validation, etc
here's the full plugin which also includes popup menus and tab menus (tree menus coming soon)
http://www.pinesandneedles.com/test/pico.asp
by the way, the code is a mess so "don't watch that!"
i'm still sorting things out
Reply with quote
|
| |
|
|
|