Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > Client Side Scripting
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 09-14-2005, 06:29 PM
  #1
RetroGamer1991
Soldier (Level 11)
 
Join Date: Sep 2001
Posts: 147
iTrader: (0)
RetroGamer1991 is on a distinguished road
javascript: How do I find out the number of OPTIONS i have and set one as SELECTED

I need to have my Javascript go through and find out how many OPTIONS I have dynamically (since I'll be adding some later on) and I need for it to also set one of them to be SELECTED. (it reads that info from my PHP Session)

I figured it out. My javascript syntax was wrong, used a LOT of document.write lines to test different kinds of syntax

Last edited by RetroGamer1991 : 09-15-2005 at 09:52 AM.
RetroGamer1991 is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-14-2005, 11:24 PM
  #2
steverz
Soldier (Level 11)
 
Join Date: Aug 2005
Posts: 111
iTrader: (0)
steverz is an unknown quantity at this point
It is possible to do with VBScript. Im not sure about Javascript.
steverz is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart



 
 


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



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 06:11 PM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.