Click here to Skip to main content
15,916,379 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: How to handle 200 KB images in my Home page to improve download time Pin
Bradml27-Dec-06 4:47
Bradml27-Dec-06 4:47 
GeneralRe: How to handle 200 KB images in my Home page to improve download time Pin
Arindam Tewary27-Dec-06 4:57
professionalArindam Tewary27-Dec-06 4:57 
GeneralRe: How to handle 200 KB images in my Home page to improve download time Pin
Bradml27-Dec-06 6:16
Bradml27-Dec-06 6:16 
AnswerRe: How to handle 200 KB images in my Home page to improve download time Pin
theJazzyBrain2-Jan-07 3:33
theJazzyBrain2-Jan-07 3:33 
QuestionCan I delete all the elements from a .net server drop down list control by using Javascript function Pin
indian14327-Dec-06 1:38
indian14327-Dec-06 1:38 
AnswerRe: Can I delete all the elements from a .net server drop down list control by using Javascript function Pin
Bradml27-Dec-06 4:14
Bradml27-Dec-06 4:14 
QuestionCan anybody help me to use combobox from Javascript function Pin
indian14326-Dec-06 17:56
indian14326-Dec-06 17:56 
AnswerRe: Can anybody help me to use combobox from Javascript function Pin
Venkatesh Mookkan26-Dec-06 19:17
Venkatesh Mookkan26-Dec-06 19:17 
Try this Javascript function on each combo's on change event....

function GetDayOfMonth(DayCtrlName, MonthCtrlName, YearCtrlName){
   var DayCtrl=document.getElementById(DayCtrlName);
   var MonthCtrl=document.getElementById(MonthCtrlName);
   var YearCtrl=document.getElementById(YearCtrlName);
   var lastDayValue=DayCtrl.value;
   var DaysCount=31;
   if (MonthCtrl.options[MonthCtrl.selectedIndex].value=='2' && 
       (parseInt(YearCtrl.options[YearCtrl.selectedIndex].value)%4)==0){
       DaysCount=29;
   }else if (MonthCtrl.options[MonthCtrl.selectedIndex].value=='2'){
       DaysCount=28;
   }else if (MonthCtrl.options[MonthCtrl.selectedIndex].value=='4' || 
             MonthCtrl.options[MonthCtrl.selectedIndex].value=='6' || 
             MonthCtrl.options[MonthCtrl.selectedIndex].value=='9' || 
             MonthCtrl.options[MonthCtrl.selectedIndex].value=='11'){
       DaysCount=30;
   }
   DayCtrl.options.length=0;
   var oOption;
   for (var i=1;i<=DaysCount;i++){
       oOption = document.createElement('option');
       DayCtrl.options.add(oOption);
       oOption.innerHTML=i;
       oOption.value=i;
       if (i==lastDayValue) oOption.selected=true;
   }
}



Regards,
Venkatesh Mookkan.

GeneralRe: Can anybody help me to use combobox from Javascript function Pin
indian14326-Dec-06 22:17
indian14326-Dec-06 22:17 
Questionstrong name in visual studio 2005 Pin
TariqMahmood26-Dec-06 5:39
TariqMahmood26-Dec-06 5:39 
QuestionHow can I add elements in to a .Net Drop down list server control using Javascript function. Like I have 3 dropdown list server controls. I want change the date field whenever month or year changed. If possible please give some code snippet. Pin
indian14326-Dec-06 1:22
indian14326-Dec-06 1:22 
AnswerRe: How can I add elements in to a .Net Drop down list server control using Javascript function. Like I have 3 dropdown list server controls. I want change the date field whenever month or year changed. If possible please give some code snippet. Pin
Christian Graus26-Dec-06 15:37
protectorChristian Graus26-Dec-06 15:37 
GeneralHow can I add elements in to a .Net Drop down list server control using Javascript function. Like I have 3 dropdown list server controls. I want change the date field whenever month or year changed. If possible please give some code snippet. Pin
indian14326-Dec-06 17:54
indian14326-Dec-06 17:54 
QuestionCan I add elements in to a Drop down list server control Pin
indian14326-Dec-06 1:17
indian14326-Dec-06 1:17 
AnswerRe: Can I add elements in to a Drop down list server control Pin
Christian Graus26-Dec-06 15:16
protectorChristian Graus26-Dec-06 15:16 
GeneralRe: Can I add elements in to a Drop down list server control Pin
indian14326-Dec-06 22:18
indian14326-Dec-06 22:18 
QuestionCrystal Report on Web Form Pin
Arghya_mp26-Dec-06 0:46
Arghya_mp26-Dec-06 0:46 
QuestionCan I access any Server control in Javascript function in .Net Pin
indian14325-Dec-06 18:52
indian14325-Dec-06 18:52 
AnswerRe: Can I access any Server control in Javascript function in .Net Pin
Christian Graus26-Dec-06 15:19
protectorChristian Graus26-Dec-06 15:19 
QuestionXMLHTTPRequest not working consistantly Pin
JimmyRopes25-Dec-06 9:27
professionalJimmyRopes25-Dec-06 9:27 
Questionjava script for preloader Pin
kitokatakito25-Dec-06 1:41
kitokatakito25-Dec-06 1:41 
AnswerRe: java script for preloader Pin
Bradml25-Dec-06 2:52
Bradml25-Dec-06 2:52 
QuestionWhat Is The Best Way To Print Simple Reports From ASP.NET Applications Pin
Gaul24-Dec-06 8:44
Gaul24-Dec-06 8:44 
AnswerRe: What Is The Best Way To Print Simple Reports From ASP.NET Applications Pin
Bradml24-Dec-06 9:11
Bradml24-Dec-06 9:11 
AnswerRe: What Is The Best Way To Print Simple Reports From ASP.NET Applications Pin
Bradml24-Dec-06 9:13
Bradml24-Dec-06 9:13 

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.