Home > Web Front-end > JS Tutorial > js common form application skills_form special effects

js common form application skills_form special effects

WBOY
Release: 2016-05-16 19:06:52
Original
834 people have browsed it

Display the specified position within the frame




Change the properties of the text box (OK button)








Note: The following O in readOnly must be uppercase and r must be lowercase



Change the properties of the text box (radio button)



1

2




2

<script> <BR><!-- <BR>function tot() <BR> { <BR> if (document.form1.name.disabled == true) <BR> { <BR> document.all.name.disabled=false; <BR> } <BR> else <BR> { <BR> document.all.name.disabled=true; <BR> } <BR> } <br><br>//--> <BR></script><script> <BR><!-- <BR>function tot() <BR> { <BR> if (document.all.name.readOnly == true) <BR> { <BR> document.all.name.readOnly=false; <BR> } <BR> else <BR> { <BR> document.all.name.readOnly=true; <BR> } <BR> } <br><br>//--> <BR></script><script> <BR><!-- <BR>function cStyleshow() <BR>{ <BR>document.all.name.disabled=false; <br><br>} <BR>function cStylehidde() <BR>{ <br><br>document.all.name.disabled=true; <br><br>} <br><br>--> <BR></script>
Related labels:
js
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template