Like this
?
[HTML]<html>
<head>
<script type="text/javascript">
function hide() {
var div_ref = document.getEle mentById("id_te xtbox_1");
div_ref.style.v isibility = "hidden";
}
function show() {
var div_ref = document.getEle mentById("id_te xtbox_1");
div_ref.style.v isibility = "visible";...
User Profile
Collapse
-
?still struggling
?
still struggling
still struggling
still strugglingstill strugglingstill strugglingstill strugglingLeave a comment:
-
You have specified the id 'id_textbox_1' for the div, which contains both textboxes.
So, when you call show or hide, it shows or hides the div (both textboxes).
You need to specify an id for each textbox that you will want to change the style of and use that id in your show and hide functions.
how and where do you specify an id for each textbox
and how where do you use that id in your...Leave a comment:
-
Thanks
so far i have this. it is not working how i wanted to be.
it is not showing corresponding text box per radio button.
instead it is just hiding both text box when the radio button2 is selected
and showing both textbox when the radio button1 is selected.
<!---------------------------here it is-------HELP THANKS--------------------->
[HTML]<html>
...Leave a comment:
-
select a radiobutton and a correspinding text box will show/visible
Hello
i have these radio buttons and i wish to have the corresponding textboxes to be visible when the radiobutton is selected.
any Help?
snippets.
thanks
thanks in adv
Bry
here is the html:
[HTML]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">...
No activity results to display
Show More
Leave a comment: