Click here to Skip to main content
16,017,261 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionAccessing properties of a control through Javascript Pin
Crazy Genius22-Sep-08 18:04
Crazy Genius22-Sep-08 18:04 
AnswerRe: Accessing properties of a control through Javascript Pin
Steve Echols22-Sep-08 18:27
Steve Echols22-Sep-08 18:27 
GeneralRe: Accessing properties of a control through Javascript Pin
Crazy Genius23-Sep-08 18:17
Crazy Genius23-Sep-08 18:17 
GeneralRe: Accessing properties of a control through Javascript Pin
Steve Echols23-Sep-08 18:43
Steve Echols23-Sep-08 18:43 
GeneralRe: Accessing properties of a control through Javascript Pin
Crazy Genius23-Sep-08 19:28
Crazy Genius23-Sep-08 19:28 
GeneralRe: Accessing properties of a control through Javascript Pin
Steve Echols23-Sep-08 19:34
Steve Echols23-Sep-08 19:34 
GeneralRe: Accessing properties of a control through Javascript Pin
Crazy Genius23-Sep-08 19:41
Crazy Genius23-Sep-08 19:41 
GeneralRe: Accessing properties of a control through Javascript Pin
Crazy Genius25-Sep-08 17:28
Crazy Genius25-Sep-08 17:28 
Hello Mr. Steve,

Well I am having problems parsing and with setting the ids for the selected names from the list so now my manager has asked to transfer the (text,values) from listbox (on child page) to a list box on parent (text,values).

I tried some code but its not working. Here it is ...

function Child()
{
var Str1 = document.getElementById('txtCompCode').value; 
var Str2 = document.getElementById('txtCompName').value; 
var Str3 = document.etElementById('txtData').value;  // << This is my parent listbox id passed from parent page


var list = document.getElementById('lboxCompList'); //Childpage listbox id 
var flist= Str3;
var osel = document.createElement("option");  
var val=""

for(var i=0;i <list.options.length;>{
    alert(list.options[i].value);  
    val += list.options[i].value+",";
    
}

alert(flist);
flist.options.add(osel);
osel.text=val;
osel.value=val;
//window.opener.document.getElementById(Str3).value=val;
window.close(); 

}


Code, Code, Code, chill lol.

Questionreset when tab click Pin
jhyn22-Sep-08 16:34
jhyn22-Sep-08 16:34 
QuestionEnable/Disable Button through javascript [modified] Pin
xfitr222-Sep-08 16:24
xfitr222-Sep-08 16:24 
AnswerRe: Enable/Disable Button through javascript Pin
Tamer Oz22-Sep-08 21:31
Tamer Oz22-Sep-08 21:31 
QuestionAjax and SQL Pin
Jacob Dixon22-Sep-08 13:51
Jacob Dixon22-Sep-08 13:51 
QuestionReportViewer Pin
kenexcelon22-Sep-08 11:53
kenexcelon22-Sep-08 11:53 
QuestionAdding data using a user control. Pin
udaykatakam22-Sep-08 8:28
udaykatakam22-Sep-08 8:28 
AnswerRe: Adding data using a user control. Pin
ToddHileHoffer22-Sep-08 10:38
ToddHileHoffer22-Sep-08 10:38 
GeneralRe: Adding data using a user control. Pin
udaykatakam22-Sep-08 13:28
udaykatakam22-Sep-08 13:28 
GeneralRe: Adding data using a user control. Pin
ToddHileHoffer23-Sep-08 2:21
ToddHileHoffer23-Sep-08 2:21 
GeneralRe: Adding data using a user control. Pin
udaykatakam23-Sep-08 19:28
udaykatakam23-Sep-08 19:28 
GeneralRe: Adding data using a user control. Pin
ToddHileHoffer24-Sep-08 2:05
ToddHileHoffer24-Sep-08 2:05 
Question[Message Deleted] Pin
strawberrysh22-Sep-08 8:26
strawberrysh22-Sep-08 8:26 
AnswerRe: adding a list to cache(for shoppingcart) Pin
ToddHileHoffer22-Sep-08 10:44
ToddHileHoffer22-Sep-08 10:44 
QuestionConnection Interrupted [modified] Pin
#realJSOP22-Sep-08 5:59
professional#realJSOP22-Sep-08 5:59 
AnswerRe: Connection Interrupted Pin
N a v a n e e t h22-Sep-08 19:49
N a v a n e e t h22-Sep-08 19:49 
Questionchange language Pin
brettokumar22-Sep-08 4:17
professionalbrettokumar22-Sep-08 4:17 
AnswerRe: change language Pin
Caio Kinzel Filho22-Sep-08 4:29
Caio Kinzel Filho22-Sep-08 4:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.