Click here to Skip to main content
15,905,877 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: parameters in form submit Pin
Terry O'Nolley31-Oct-03 9:00
Terry O'Nolley31-Oct-03 9:00 
GeneralWeb Service Typed DataSet issues Pin
TravisMerkel24-Oct-03 14:18
TravisMerkel24-Oct-03 14:18 
GeneralRe: Web Service Typed DataSet issues Pin
TravisMerkel26-Oct-03 13:03
TravisMerkel26-Oct-03 13:03 
Generalreturn to previous page Pin
Oleg_S24-Oct-03 10:24
Oleg_S24-Oct-03 10:24 
GeneralRe: return to previous page Pin
Paul Watson24-Oct-03 12:23
sitebuilderPaul Watson24-Oct-03 12:23 
GeneralRe: return to previous page Pin
Roger Wright24-Oct-03 14:28
professionalRoger Wright24-Oct-03 14:28 
QuestionDon't want to install IIS locally- how are your development environments set up? Pin
ThomasH124-Oct-03 5:50
ThomasH124-Oct-03 5:50 
GeneralDOM + replaceChild Pin
jerry0davis23-Oct-03 5:29
jerry0davis23-Oct-03 5:29 
I've had loads of things work in IE, and not NS, but now I've got one that works in NS, and not IE! D'Oh! | :doh: Mad | :mad:

When a <select> is changed, I call the onchangeevent() function as shown below. Depending on the index of the <select>ed item I wish to change the e_detail element to/from either a <text> box or <select> box, and populate them. When I first call this function everything works fine. However when I change it a second time, IE tells me "document.term.elements.e_detail.parentNode is null or not an object" on the line highlighted below.

Anyone got any ideas please? Thanks everso for any help at all! Smile | :)

<code>function dochangeevent()
{
e=document.term.e_event.value;
var obj;
if(e==5||e==7||e==8||e==10)
{
obj=document.createElement("input");
obj.type="text";
obj.name="e_detail";
obj.value=0;
obj.maxlength=2;
obj.size=2;
document.term.elements.e_detail.parentNode.replaceChild(obj, document.term.elements.e_detail);
}
else
{
obj=document.createElement("select");
obj.name="e_detail";
obj.size=1;
for(i=0; i<20;i++)
{
var opt=document.createElement("option");
opt.value=i;
if(details[e-1][i])
{
var txt=document.createTextNode(details[e-1][i]);
opt.appendChild(txt);
obj.appendChild(opt);
}
}
document.term.elements.e_detail.parentNode.replaceChild(obj, document.term.elements.e_detail); // <------ ERROR HERE
}
}
GeneralHelp With Word Automation Pin
Sokar23-Oct-03 3:58
Sokar23-Oct-03 3:58 
GeneralRe: Help With Word Automation Pin
Sage23-Oct-03 8:51
Sage23-Oct-03 8:51 
GeneralRe: Help With Word Automation Pin
Sokar23-Oct-03 9:01
Sokar23-Oct-03 9:01 
GeneralRe: Help With Word Automation Pin
Sage23-Oct-03 9:10
Sage23-Oct-03 9:10 
GeneralRe: Help With Word Automation Pin
Sokar23-Oct-03 9:31
Sokar23-Oct-03 9:31 
GeneralRe: Help With Word Automation Pin
Sage23-Oct-03 9:54
Sage23-Oct-03 9:54 
GeneralRe: Help With Word Automation Pin
Sage23-Oct-03 10:23
Sage23-Oct-03 10:23 
GeneralRe: Help With Word Automation Pin
Sokar23-Oct-03 10:49
Sokar23-Oct-03 10:49 
Generalasp.net application does not work under a different web site from the default web site Pin
Mertli Ozgur Nevres22-Oct-03 23:46
Mertli Ozgur Nevres22-Oct-03 23:46 
GeneralRe: asp.net application does not work under a different web site from the default web site Pin
Paul Watson23-Oct-03 1:07
sitebuilderPaul Watson23-Oct-03 1:07 
GeneralRe: asp.net application does not work under a different web site from the default web site Pin
Sage23-Oct-03 8:56
Sage23-Oct-03 8:56 
GeneralI have a simple kind of stupid problem but I can't seem to figure out how to fix it. Pin
nssone22-Oct-03 18:38
nssone22-Oct-03 18:38 
GeneralRe: I have a simple kind of stupid problem but I can't seem to figure out how to fix it. Pin
J. Dunlap22-Oct-03 19:07
J. Dunlap22-Oct-03 19:07 
GeneralRe: I have a simple kind of stupid problem but I can't seem to figure out how to fix it. Pin
nssone23-Oct-03 0:25
nssone23-Oct-03 0:25 
QuestionNetscape: Changing the hyperlink text? Pin
Paul Riley22-Oct-03 13:28
Paul Riley22-Oct-03 13:28 
AnswerRe: Netscape: Changing the hyperlink text? Pin
Paul Watson23-Oct-03 1:09
sitebuilderPaul Watson23-Oct-03 1:09 
GeneralRe: Netscape: Changing the hyperlink text? Pin
Paul Riley23-Oct-03 1:49
Paul Riley23-Oct-03 1:49 

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.