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

Web Development

 
GeneralRe: Need some direction with my web app Pin
man_krastogi5-Apr-05 10:00
man_krastogi5-Apr-05 10:00 
GeneralRe: Need some direction with my web app Pin
6-Apr-05 6:54
suss6-Apr-05 6:54 
GeneralRe: Need some direction with my web app Pin
man_krastogi13-Apr-05 5:28
man_krastogi13-Apr-05 5:28 
GeneralAuto format a text field Pin
Andy122795-Apr-05 9:18
Andy122795-Apr-05 9:18 
GeneralRe: Auto format a text field Pin
JKroschel6-Apr-05 5:43
JKroschel6-Apr-05 5:43 
GeneralRe: Auto format a text field Pin
Andy122796-Apr-05 6:05
Andy122796-Apr-05 6:05 
GeneralReport automation from ASP and C# Pin
keith@reaseheath5-Apr-05 8:33
keith@reaseheath5-Apr-05 8:33 
GeneralWebservices on Server 2003 Pin
RB@Emphasys5-Apr-05 7:18
RB@Emphasys5-Apr-05 7:18 
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 

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.