View Full Version : Urgent!!!

Dibya R Jena
01-22-2009, 10:18 AM
In a table i have a checkbox and a text field.

CheckBox contains a value and text box contains time in second.
when i ckicked a button:
I have to add checkbox value and time to a multiple size select box.

i used:

function addtoplaylist()
var player=document.createplaylist.player;
var ss=document.createplaylist.ss;
var time=':'+(ss.value*1);
var value=player.value+time;
var option=player.value+time;
var index=document.createplaylist.playlist.length;
var newoption=new Option(value,option);
var networkplayer,record;
var j=0;
var i,k;
Here i got the value in select box : undefined:Nan

01-22-2009, 10:27 AM
Please read

CodingForums.com > :: Client side development > JavaScript programming
Post a JavaScript
Sticky: READ THIS BEFORE YOU POST A SCRIPT (http://www.codingforums.com/showthread.php?t=1510)

and http://www.codingforums.com/postguide.htm (especially #2)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum