Form names

This is a discussion on "Form names" within the JavaScript Forum section. This forum, and the thread "Form names are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 6th, 2004, 10:14
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,612
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
Form names

i 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....
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)

  #2 (permalink)  
Old Oct 11th, 2004, 18:01
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,612
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
nobody?
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
  #3 (permalink)  
Old Oct 11th, 2004, 18:17
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,950
Blog Entries: 7
Thanks: 7
Thanked 3 Times in 3 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
Hmmm.... this is weird.... surely the desired response would be a string too.

I dunno bout this mate.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #4 (permalink)  
Old Oct 11th, 2004, 19:06
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
More Javascript madness. You've got server-side validation too right?
  #5 (permalink)  
Old Oct 14th, 2004, 11:03
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,612
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
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
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Closed Thread

Tags
form, names

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain Names Help crackafaza Hosting & Domains 7 Oct 19th, 2007 16:12
domain names and hosting jas4 Hosting & Domains 24 Sep 19th, 2007 12:22
Domain Names in Sigs? camcool21 Webforumz Cafe 8 Nov 21st, 2006 07:10
Changing Image Names LearningToProgram Classic ASP 2 May 31st, 2006 23:35


All times are GMT. The time now is 11:14.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43