Click here to Skip to main content
15,896,063 members
Home / Discussions / Web Development
   

Web Development

 
GeneralChanging <EMBED> source throught java script Pin
tibiz4-Apr-05 22:28
tibiz4-Apr-05 22:28 
QuestionASP substring function?? Pin
Andy122794-Apr-05 9:40
Andy122794-Apr-05 9:40 
AnswerRe: ASP substring function?? Pin
econner5-Apr-05 9:03
econner5-Apr-05 9:03 
GeneralDate Selector control Pin
rotsey3-Apr-05 23:43
rotsey3-Apr-05 23:43 
GeneralMime boundry Pin
alex.barylski3-Apr-05 10:54
alex.barylski3-Apr-05 10:54 
GeneralRe: Mime boundry Pin
DavidNohejl3-Apr-05 12:26
DavidNohejl3-Apr-05 12:26 
GeneralINPUT tag Pin
nagarajuepuri2-Apr-05 6:26
nagarajuepuri2-Apr-05 6:26 
GeneralRe: INPUT tag Pin
Scott Serl2-Apr-05 8:34
Scott Serl2-Apr-05 8:34 
Apparently not (just tried IE6).
You can just replace it with a new element:
function evolve()
{
	var obj = document.getElementById("MyInput");
	var newObj;
	newObj = document.createElement("input");
	newObj.type = "text";
	newObj.id = "MyInput";
	obj.parentNode.replaceChild(newObj,obj);
	
}


From a coding design point of view, it is probably better to just put 2 input controls on the page and hide/show the one you need. It can introduce errors if some code is expecting one type of input control, but receives another because it has morphed into something else.
GeneralJAVASCRIPT Pin
Member 15762691-Apr-05 8:22
Member 15762691-Apr-05 8:22 
GeneralRe: JAVASCRIPT Pin
JKroschel6-Apr-05 5:00
JKroschel6-Apr-05 5:00 
GeneralViewState with webUserControl & inheritance Pin
parsiphal1-Apr-05 1:21
parsiphal1-Apr-05 1:21 
GeneralNeed help with ASP, error trapping while sending email Pin
w1n7831-Mar-05 14:39
w1n7831-Mar-05 14:39 
GeneralDefault Button on HTML form Pin
Brian Van Beek31-Mar-05 11:17
Brian Van Beek31-Mar-05 11:17 
GeneralProblems making a proxy server Pin
shaiba31-Mar-05 6:19
shaiba31-Mar-05 6:19 
GeneralDare to Solve it Pin
vipul thakur31-Mar-05 4:12
vipul thakur31-Mar-05 4:12 
QuestionGoogle ads without javascript? Pin
tantiboh30-Mar-05 12:11
tantiboh30-Mar-05 12:11 
AnswerRe: Google ads without javascript?--follow up question Pin
JKroschel6-Apr-05 5:35
JKroschel6-Apr-05 5:35 
GeneralWeb Services Extract/Insert SOAP Body Pin
Poiema30-Mar-05 7:20
Poiema30-Mar-05 7:20 
GeneralCross domain Javascript Pin
Esmo200030-Mar-05 4:09
Esmo200030-Mar-05 4:09 
GeneralNull value Pin
Brendan Vogt29-Mar-05 19:14
Brendan Vogt29-Mar-05 19:14 
GeneralRe: Null value Pin
Colin Angus Mackay30-Mar-05 4:23
Colin Angus Mackay30-Mar-05 4:23 
GeneralRe: Null value [Additional] Pin
Colin Angus Mackay30-Mar-05 19:50
Colin Angus Mackay30-Mar-05 19:50 
GeneralASP Log off Section Pin
Brendan Vogt29-Mar-05 19:06
Brendan Vogt29-Mar-05 19:06 
GeneralRe: ASP Log off Section Pin
AlanJones20053-Apr-05 23:16
AlanJones20053-Apr-05 23:16 
GeneralJavaScript String Comparison Pin
Brendan Vogt29-Mar-05 19:02
Brendan Vogt29-Mar-05 19:02 

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.