Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 10th, 2005, 06:41 PM
Authorized User
Join Date: Sep 2004
Location: , , .
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Tab objects in Javascript

How do I create dynamic tab objects in javascript??? I have a page where depending on who logged in would see different tab objects. for eg person 1 could see only ABC , DEF tabs. person 2 could see only ABC tab. So the number of tab object changes as per the person.
Reply With Quote
  #2 (permalink)  
Old February 11th, 2005, 05:37 AM
Friend of Wrox
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919

Hii TTBhandari !!
You can use ,style object.
Following example can help you
<script>function checkTab()
var obj=""


<form name=myform>
<span id="div1" style="display:true"><input type=button name="b1" value=tab1 ></span>
<span id="div2" style="display:true"><input type=button name="b2" value=tab11 ></span>
<span id="div3" style="display:true"><input type=button name="b3" value=tab111></span>
valid values(1,2,3)
<input type=text name="orgval" >
<input type=button onclick="checkTab()" value="Checkit">

Cheers :)

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable a tab on a tab control. dbradley VB.NET 6 April 14th, 2011 10:04 AM
Tab in XSLT in 1.0 only pradeepn XSLT 4 May 8th, 2007 06:35 PM
Javascript objects mwells Javascript 1 February 11th, 2007 09:39 PM
Javascript Objects Source Code? mikedshaffer Javascript 3 September 17th, 2003 01:17 PM

All times are GMT -4. The time now is 04:52 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.