Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework
this week in the
Java in General
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Liutauras Vilda
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Devaka Cooray
Paul Clapham
Saloon Keepers:
Scott Selikoff
Tim Holloway
Piet Souris
Mikalai Zaikin
Frits Walraven
Bartenders:
Stephan van Hulst
Carey Brown
Forum:
HTML Pages with CSS and JavaScript
a question about dynamically form
chang nanny
Greenhorn
Posts: 14
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello,
I have a dynamically form.
there's a text field and a submit button on each form.
as I enter text and press the submit button.
I would like to use javascript to check which form's text field with value.
How should i do?
thank you.
Eric Pascarello
author
Posts: 15385
6
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Basic Idea is below....
<script> function CheckSubmit(){ if(document.FormName.ElementName.value.length > 0)return true; else return false; } </script> <form name="blah" onsubmit="return CheckSubmit()">
I didn't like the taste of tongue and it didn't like the taste of me. I will now try this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Struts-2 Action class issue
Form submit
JWebUnit: How do I simulate clicking enter in a text field?
Tricky form problem glad for any ideas or tell me its not possible
submitting the form on press of 'ENTER'
More...