Click here to Skip to main content
15,901,035 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Will VB COM will do better than normal ASP ? Pin
JoiSteingrims21-Mar-07 13:35
JoiSteingrims21-Mar-07 13:35 
AnswerRe: Will VB COM will do better than normal ASP ? Pin
Guffa22-Mar-07 2:09
Guffa22-Mar-07 2:09 
AnswerRe: Will VB COM will do better than normal ASP ? Pin
andyharman22-Mar-07 2:05
professionalandyharman22-Mar-07 2:05 
Question[Architecture] Building a plugin system in a Web Application Pin
Giovanny Temgoua21-Mar-07 4:03
Giovanny Temgoua21-Mar-07 4:03 
AnswerRe: [Architecture] Building a plugin system in a Web Application Pin
Bradml22-Mar-07 13:11
Bradml22-Mar-07 13:11 
GeneralRe: [Architecture] Building a plugin system in a Web Application Pin
Giovanny Temgoua23-Mar-07 8:10
Giovanny Temgoua23-Mar-07 8:10 
QuestionRe: [Architecture] Building a plugin system in a Web Application Pin
Giovanny Temgoua24-Mar-07 23:17
Giovanny Temgoua24-Mar-07 23:17 
QuestionHow can I do paging in Datagrid through JavaScript? Pin
Deepak Kashyap20-Mar-07 20:31
Deepak Kashyap20-Mar-07 20:31 
AnswerRe: How can I do paging in Datagrid through JavaScript? Pin
Vasudevan Deepak Kumar22-Mar-07 6:14
Vasudevan Deepak Kumar22-Mar-07 6:14 
QuestionJavascript Password Generator Pin
fryguy.ca20-Mar-07 17:16
fryguy.ca20-Mar-07 17:16 
AnswerRe: Javascript Password Generator Pin
Bradml20-Mar-07 22:50
Bradml20-Mar-07 22:50 
GeneralRe: Javascript Password Generator Pin
fryguy.ca21-Mar-07 10:40
fryguy.ca21-Mar-07 10:40 
GeneralRe: Javascript Password Generator Pin
Bradml22-Mar-07 13:13
Bradml22-Mar-07 13:13 
QuestionIIS ASP Encrypt Utility Pin
Vasudevan Deepak Kumar20-Mar-07 12:55
Vasudevan Deepak Kumar20-Mar-07 12:55 
QuestionC++ dll accessed by COld Fusion Pin
LCI20-Mar-07 8:08
LCI20-Mar-07 8:08 
QuestiongSoap dime attachments Pin
abac_mefisto20-Mar-07 5:23
abac_mefisto20-Mar-07 5:23 
QuestionJavascript, innerHTML and Firefox Pin
JoiSteingrims20-Mar-07 5:14
JoiSteingrims20-Mar-07 5:14 
AnswerRe: Javascript, innerHTML and Firefox Pin
Guffa20-Mar-07 10:07
Guffa20-Mar-07 10:07 
You may have problems if links reload the page when you click on them. Use the onclick event in the links instead, and return false from it to prevent the link to be activated:

<a href="add" onclick="ruPanelMultiAdd('Department');return false;">[+]</a>

(The value in the href property is not used.)

I see another problem with your code also. When you copy the html code of the select element, you will get more than one element with the same id, which is not allowed.

Also, you are replacing all the html code in the div element when you add or remove items. That means that you remove all the elements and then add new elements that are identical, but still they are not the same elements. You might consider it an error that the new elements doesn't get the same state as the old elements, but someone else might consider it an error if they do.

You can use the appendChild and removeChild methods of the div element to add and remove elements inside it. That way you won't be replacing all the elements in it.

---
single minded; short sighted; long gone;

AnswerRe: Javascript, innerHTML and Firefox Pin
JoiSteingrims21-Mar-07 13:19
JoiSteingrims21-Mar-07 13:19 
QuestionStarting Application Pin
Navneet Hegde20-Mar-07 3:03
Navneet Hegde20-Mar-07 3:03 
AnswerRe: Starting Application Pin
Laxman Auti21-Mar-07 5:56
Laxman Auti21-Mar-07 5:56 
QuestionWindows Authentication Pin
nclauder20-Mar-07 2:48
nclauder20-Mar-07 2:48 
JokeRe: Windows Authentication Pin
Laxman Auti21-Mar-07 5:58
Laxman Auti21-Mar-07 5:58 
GeneralRe: Windows Authentication Pin
nclauder21-Mar-07 21:43
nclauder21-Mar-07 21:43 
GeneralRe: Windows Authentication Pin
Laxman Auti21-Mar-07 22:03
Laxman Auti21-Mar-07 22:03 

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.