NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page hide/show forms with javascript

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 07-08-2004, 08:40 AM THREAD STARTER               #1 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer

hide/show forms with javascript


hey people

im making a script for work and i h ave to radio buttons

one yes and one no

when they click yes i need a div tag with a textbox to appear to so they can enter text and then when they click no it goes away

i have a working version in ie but not in mozilla

heres my code

Code:
<SCRIPT language="JavaScript">
document.all.txtbox.style.display ='none';
</SCRIPT>
<input type='button' value='Yes' class='button'onClick="document.all.txtbox.style.display =''">

<SPAN ID="txtbox" STYLE="position:absoloute; display:none">
YOUR HTML CODE or FIELDS
</SPAN>
adam_uk is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:25 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger