Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa HTML Show mu;tiple DIV contents in a page

Have Programming Question? Ask it here!
 
 
 


Anoop Pete
Show mu;tiple DIV contents in a page
0 Answer(s)      3 years and 3 months ago
Posted in : HTML


Hi All;

I want to show the content of forms like this. A drop down list having options say A,B,C. on selecting an option, it should display 1 div out of 3 div contents. 1st div tag contains 1 text box, 2nd div tag contains 2 text boxes, 3rd div tag contains 3 text boxes,

i did that using

function toggle(show)

    {
        if (this.currvisible) {
        document.getElementById(currvisible).style.display = 'none';
    }
    if (show)
    {
        document.getElementById(show).style.display = '';
        this.currvisible = show;
    }

Now i added one more dropdown list having options D,E,F. on selecting an option, it should display 1 div out of 3 div contents. 4th div tag contains 4 text box, 5th div tag contains 5 text boxes, 6th div tag contains 6 text boxes,

when i chose one option of 1st drop down list, it works fine, and when i select an option from 2nd drop down list THE DIV content that was previously displayed will hide...

CAN ANY ONE SUGGEST ME WHAT I CAN DO????

THANKS IN ADVANCE.

with warm regards,

Anoop Pete,


Advertisement
View Answers

Related Tutorials/Questions & Answers:
Show mu;tiple DIV contents in a page
Show mu;tiple DIV contents in a page  Hi All; I want to show.... on selecting an option, it should display 1 div out of 3 div contents. 1st div tag... 1 div out of 3 div contents. 4th div tag contains 4 text box, 5th div tag
loading page in div
loading page in div  how to load another web page in div?   <div name="iframe" id="iframe"></div> <iframe id="foo" name="foo" src="http://www.w3schools.com/"></iframe> //and in Javascript
Advertisements
Jquery Hide and Show Div
: Show/Hide Div in jQuery <!DOCTYPE html> <html> <head> <...;).show(); }); }); </script> </head> <body> <div id...Using jQuery effects one can perform lots of task such as Hide, Show, Toggle
How to print contents of a web page in jsp?
How to print contents of a web page in jsp?  I have generated a pay slip using jsp.How do I print the contents of the slip
display contents on the same page by selecting a radio button
display contents on the same page by selecting a radio button  Bill Amount Rs.<input type="text" name="amm"/> Bill Status: Pending<... on the same page under the radio button
write Div in jsp page - JSP-Servlet
write Div in jsp page  How can i write Div class in jsp page?  Hi Viral Sonawala tag is a html tag, perform the same function in jsp as used in html. Example: This is a header This is a paragraph
Help with jQuery show hide div script - JSP-Interview Questions
Help with jQuery show hide div script  Hi guys, I have a jquery script for showing and hiding the content inside, between two divs, controlled with radiobuttons. I like to use the same jquery script for another group of divs
how to divide 1 web page into some parts using div tag...
how to divide 1 web page into some parts using div tag...  how to divide 1 web page into some parts. i know it using frames in html,bt how can we do it in jsp. my friend told it can b done using div tag. i ve tried bt couldnt do
How to get table row contents into next jsp page
contents in the next jsp page and display them Thanks Vikas   The given...How to get table row contents into next jsp page  Hi, I have a 30... will get shown in another page and allow the user to update the record. 1
JavaScript Hide Div
JavaScript Hide Div...; In this section, we are going to hide div element on clicking the button using the JavaScript. In the given example, we have created a div element using <div>
JavaScript move div
JavaScript move div...; This section illustrates you how to move a div element on the window using JavaScript. In the following code, we have defined a div element consisting of text
JavaScript getElementById div
JavaScript getElementById div... example we have used document.getElementById() method to get access to a div element...() method on a div element. We have created a div with the id "myDiv"
how to show hyperlink website on the same page
how to show hyperlink website on the same page  dear sir: i need to know how can you show a webiste on the same page. for example i want to show... on the same page weather it is left aligned or right. i read somewhere that you
Java Programming: Contents
Introduction to Programming Using Java, Fourth Edition Table of Contents THIS IS THE FULL TABLE OF CONTENTS for version 4.1 of an on-line... its front page. The text is available on-line at http://math.hws.edu
show, hide, disable components on a page with struts - Struts
show, hide, disable components on a page with struts  disabling a textbox in struts.. in HTML its like disable="true/false" how can we do it in struts
Show image and text on same jsp page
Show image and text on same jsp page  Hi all, I have to display image and text on the same jsp page. The text and image are both retrived from mysql database. The image is shown correctly on seperate jsp page but when shown
The PHP file_get_contents() function , file_get_contents php
(), fsockopen() functions It then returns  file contents as String  To show...The PHP file_get_contents() Function Function reads the content of the whole file to a string. This function is the best way to read the contents
DIV in HTML
DIV in HTML  What is DIV in HTML
How to align div side by side?
Example of aligning DIV side by side in HTML page In this tutorial I will explain you how you can align the div side by side using CSS. The CSS... div side by side?. If you are looking for the tutorial for aligning the DIV
div align left css
div align left css  Hi, How to align the div to left using the css in HTML page. Thanks
Show Hyperlink in HTML Page
Show Hyperlink in HTML Page   ... code show you a HTML page, that create a link to another page. The code begins... to be displayed</a> is used to show the url of the page to which hyperlink
how to show effect (visual) on jsp page using value from database
how to show effect (visual) on jsp page using value from database  I am making a ticket booking system. I have a databse with a clumn "booking status" I am thinking to use a map of seats ( with pictures controllers as seats) What
Fetched Record from database show into text field of html page
Fetched Record from database show into text field of html page  hi, i..., and also have html page with all above mentioned field i have submit 20 record from... is that if i have a report page with same four above filed and i type any letter
How to Autogenerate of ID from database and show on JSP page?
How to Autogenerate of ID from database and show on JSP page?  ... increasin 1 in the previously stored tsk id) on JSP page when I click... it (in taskAction.java) that it auto generate tasksid in jp page when i click on Create_task.jsp
How to Autogenerate of ID from database and show on JSP page?
How to Autogenerate of ID from database and show on JSP page?  ... increasin 1 in the previously stored tsk id) on JSP page when I click... it (in taskAction.java) that it auto generate tasksid in jp page when i click on Create_task.jsp
How to Autogenerate of ID from database and show on JSP page?
How to Autogenerate of ID from database and show on JSP page?  ... increasin 1 in the previously stored tsk id) on JSP page when I click... it (in taskAction.java) that it auto generate tasksid in jp page when i click on Create_task.jsp
How to Autogenerate of ID from database and show on JSP page?
How to Autogenerate of ID from database and show on JSP page?  ... page when I click on CreateTask.jsp page.How can i do so?My project storing user... should i make it (in taskAction.java) that it auto generate tasksid in jp page when
Div (Ajax Tag) tag Example
without refreshing the entire page. The div tag when used with Ajax refreshes...Div (Ajax Tag) tag Example       In this section, you will learn about the div tag. The div tag is an Ajax
Showing div at the center of the webpage
Showing div at the center of the webpage  Showing div at the center of the webpage
DIV ERROR - Framework
DIV ERROR  I HAV FACING THE PROBLEM..... when...i m fetching... ....at that time the view is very good....but if there hav'nt any space at that time my div tag is strached....when i maintain max width....at that time...my web page dose'nt
Web Contents
Web Contents       If coding is the body of the website, web contents are the soul. Without web contents, a website is not more than a dead body. To be an average website, web
JavaScript Show Hide table
JavaScript Show Hide table...; In this section, we are going to show and hide table on clicking the button using... document.getElementById('div') grabs the id of the table and refer to property 'visibility
class of div tag
class of div tag  How can i recognize the selected DIV class
div background color in html
div background color in html   How to change the background color of DIV in HTML
scrolling div ipad
scrolling div ipad   Please suggest me how to scroll the div in iPad UIWebView? Thanks
div to scrollbar - Java Beginners
div to scrollbar  hi, thanks a lot for replying but my question is some what different let me make it more clear i have div which increases in size... that division but now the question is if i resize the window which means when the div
div overflow hidden
div overflow hidden  How to make div overflow hidden? Thanks   Hi, Here is the code: <div style="widht:200px; height:600px; overflow:hidden;"> </div> Thanks
indent div css
indent div css  How can i indent with outer and inner margin?  .../answers/viewqa/HTML/17553-indent-div-css.html :Indent DIV in CSS
Adding image to database through jsp or HTML page ,while adding only image should show.
Adding image to database through jsp or HTML page ,while adding only image should show.   Adding image to database through jsp or HTML page,while adding only image should show. After that i need view that uploaded image from
div style background
div style background  How to add background color to a div? What is the code of div style background?   Hi, You can use the following code: <div style="background-color: #ccffcc;"> <p>Content</p> <
indent div css
Div file in css  How can i indent div with outer and inner margin... it in another div. For example, make the outer div margin: 0 auto; and the inner div.... Indent div in css <html> <head> <title>Indent div
div style float right
div style float right  How to align div to right? Share me the code for div style float right. Thanks   Hi, You can use following code: <div style="float: right; widht:300px; height:600px;"> <p>Content<
remove and add div jquery
remove and add div jquery  I want to enable my users to remove or add DIV using JQuery.   $('.add_more').click(function(){ var description = $('#description').val(); $newEl = $('<div class="description_text
image on div or cell of table
image on div or cell of table  I am using ms access database and I... but it display on browser but I want to display on inside the div tag or table tag pls... is to display on div or table... thnx in advance
image on div or cell of table
image on div or cell of table  I am using ms access database and I... but it display on browser but I want to display on inside the div tag or table tag pls... is to display on div or table... thnx in advance
image on div or cell of table
image on div or cell of table  I am using ms access database and I... but it display on browser but I want to display on inside the div tag or table tag pls... is to display on div or table... thnx in advance
image on div or cell of table
image on div or cell of table  I am using ms access database and I... but it display on browser but I want to display on inside the div tag or table tag pls... is to display on div or table... thnx in advance
image on div or cell of table
image on div or cell of table  I am using ms access database and I... but it display on browser but I want to display on inside the div tag or table tag pls... is to display on div or table... thnx in advance
image on div or cell of table
image on div or cell of table  I am using ms access database and I... but it display on browser but I want to display on inside the div tag or table tag pls... is to display on div or table... thnx in advance
Advertisements
 

 

 

DMCA.com