By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,517 Members | 1,172 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,517 IT Pros & Developers. It's quick & easy.

Visible false panel in java script

P: 25
hi,
Can you give the jaya script for visible the panel on selected of radio button.

i am using like

Expand|Select|Wrap|Line Numbers
  1. {
  2.         frm=document.Form1[0]
  3.         //Form1.chbauthenticate.disabled=true
  4.         if(Form1.rbt_reg.checked) 
  5.         {
  6.             //alert(Form1.chbauthenticate.disabled);
  7.  
  8.             pnl_exist.style.display="";
  9.             //pnl_new.style.visibility="hidden";
  10.             pnl_new.style.display="none";
  11.         }
Nov 27 '07 #1
Share this Question
Share on Google+
1 Reply


gits
Expert Mod 5K+
P: 5,390
hi ...

use the following to make it visible:

Expand|Select|Wrap|Line Numbers
  1. your_node_ref.style.display = 'block';
to hide it:

Expand|Select|Wrap|Line Numbers
  1. your_node_ref.style.display = 'none';
kind regards
Nov 27 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.