Click here to Skip to main content
15,920,648 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Drop downList Pin
theScorp22-Mar-07 21:14
theScorp22-Mar-07 21:14 
GeneralRe: Drop downList Pin
Mkanchha23-Mar-07 3:04
Mkanchha23-Mar-07 3:04 
QuestionJavaScript function in onload event Pin
gauthee22-Mar-07 20:47
gauthee22-Mar-07 20:47 
AnswerRe: JavaScript function in onload event Pin
Sandeep Akhare22-Mar-07 20:52
Sandeep Akhare22-Mar-07 20:52 
GeneralRe: JavaScript function in onload event Pin
gauthee22-Mar-07 21:23
gauthee22-Mar-07 21:23 
GeneralRe: JavaScript function in onload event Pin
Sandeep Akhare22-Mar-07 21:39
Sandeep Akhare22-Mar-07 21:39 
GeneralRe: JavaScript function in onload event Pin
gauthee22-Mar-07 22:21
gauthee22-Mar-07 22:21 
AnswerRe: JavaScript function in onload event Pin
Kschuler23-Mar-07 4:28
Kschuler23-Mar-07 4:28 
I've had trouble like this before. I think it has to do with where you are putting the javascript. If your javascript is at the end of the html, than when the <body> tag is rendered it hasn't rendered the function yet so it doesn't know where it is. Try putting the javascript in a <script> block that is above the <body> tag. Since this is in the removed property I think that is all you should have to do. If it were in the onload property then you might have trouble getting it to work because when it runs the javascript and tries to find the length of the listbox you could get an error because it hasn't rendered the listbox yet.

The only other thing I noticed is that you don't have a ; after the fun1() But that isn't a big problem.

I hope this helps.
Questioni need name of the month Pin
sooreeagt22-Mar-07 20:44
sooreeagt22-Mar-07 20:44 
AnswerRe: i need name of the month Pin
Kunal P22-Mar-07 21:15
Kunal P22-Mar-07 21:15 
AnswerRe: i need name of the month Pin
Sandeep Akhare22-Mar-07 22:00
Sandeep Akhare22-Mar-07 22:00 
AnswerRe: i need name of the month Pin
joon vh.23-Mar-07 3:47
joon vh.23-Mar-07 3:47 
QuestionPositioning data from sql database on multiple pages Pin
Dragoslav Zaric22-Mar-07 20:30
Dragoslav Zaric22-Mar-07 20:30 
AnswerRe: Positioning data from sql database on multiple pages Pin
Naveed Kamboh26-Mar-07 4:40
Naveed Kamboh26-Mar-07 4:40 
Questionhelp debug pls i dont see anything wrong wit my sql statement Pin
neodeaths22-Mar-07 20:28
neodeaths22-Mar-07 20:28 
AnswerRe: help debug pls i dont see anything wrong wit my sql statement Pin
jithbiz003322-Mar-07 22:37
jithbiz003322-Mar-07 22:37 
GeneralRe: help debug pls i dont see anything wrong wit my sql statement [modified] Pin
GaryWoodfine 23-Mar-07 1:45
professionalGaryWoodfine 23-Mar-07 1:45 
Questionhow to make Select One Option bydefault in dropdownlistbox programmatically Pin
mohd imran abdul aziz22-Mar-07 19:19
mohd imran abdul aziz22-Mar-07 19:19 
AnswerRe: how to make Select One Option bydefault in dropdownlistbox programmatically Pin
Sandeep Akhare22-Mar-07 20:49
Sandeep Akhare22-Mar-07 20:49 
Questionhelp to retrieve values from an Xml Node. Pin
samR922-Mar-07 19:07
samR922-Mar-07 19:07 
AnswerRe: help to retrieve values from an Xml Node. Pin
Sandeep Akhare22-Mar-07 21:48
Sandeep Akhare22-Mar-07 21:48 
Questionupdate gridview checkbox when popup window close Pin
szewanng22-Mar-07 17:37
szewanng22-Mar-07 17:37 
AnswerRe: update gridview checkbox when popup window close Pin
N a v a n e e t h22-Mar-07 18:15
N a v a n e e t h22-Mar-07 18:15 
GeneralRe: update gridview checkbox when popup window close Pin
szewanng22-Mar-07 18:17
szewanng22-Mar-07 18:17 
QuestionASP.Net ReportViewer set width to reportviewer control width?? Pin
PhrankBooth22-Mar-07 13:15
PhrankBooth22-Mar-07 13:15 

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.