Click here to Skip to main content
15,906,645 members
Home / Discussions / Web Development
   

Web Development

 
GeneralLocal Time Pin
Brendan Vogt11-Dec-07 10:41
Brendan Vogt11-Dec-07 10:41 
GeneralRe: Local Time Pin
pmarfleet11-Dec-07 11:11
pmarfleet11-Dec-07 11:11 
QuestionImplementation Technology Suggestion for exchanging data with a remote server needed. Pin
mtwombley11-Dec-07 8:01
mtwombley11-Dec-07 8:01 
QuestionUrgent: reseizing webparts dynamically Pin
devsam11-Dec-07 3:52
devsam11-Dec-07 3:52 
GeneralRe: Urgent: reseizing webparts dynamically Pin
Paul Conrad23-Dec-07 14:50
professionalPaul Conrad23-Dec-07 14:50 
QuestionStupid problem with innerHTML in Javascript Pin
ieaeitsch11-Dec-07 2:32
ieaeitsch11-Dec-07 2:32 
GeneralRe: Stupid problem with innerHTML in Javascript Pin
Michael Sync11-Dec-07 19:24
Michael Sync11-Dec-07 19:24 
GeneralRe: Stupid problem with innerHTML in Javascript Pin
ieaeitsch11-Dec-07 21:52
ieaeitsch11-Dec-07 21:52 

I made the following test again.

This is my complete content of my HTML file.

----------------------------------------------------------------

<html>

<head>

<title>Sollterminlaufzeiten</title>

<script language="javascript">

function addOptions() {

document.getElementById ("CodeProjTest").innerHTML = "< option value='1'> eh< /option> < option value='2'> eh2< /option> ";

alert (document.getElementById ("CodeProjTest").innerHTML);

}

</script>

</head>

<body MS_POSITIONING="GridLayout">

<form name="Form1" method="post" action="TargetDateRuntimeConfig.aspx" id="Form1">

<input id="Button6" type="button" value="button" onclick="addOptions();" />

<select id="CodeProjTest"></select>

</form>

</body>

</html>

----------------------------------------------------------------

It still doesn't work.

The alert message box shows the following:

&lt; option value='1'&gt; eh&lt; /option&gt; &lt; option value='2'&gt; eh2&lt; /option&gt;

Do you have any ideas what the problem could be? Maybe you can tell me, what a
alert shows in your example.

Thanks for your help.

Erik


GeneralRe: Stupid problem with innerHTML in Javascript Pin
Michael Sync11-Dec-07 22:28
Michael Sync11-Dec-07 22:28 
GeneralRe: Stupid problem with innerHTML in Javascript Pin
Michael Sync11-Dec-07 22:29
Michael Sync11-Dec-07 22:29 
GeneralRe: Stupid problem with innerHTML in Javascript Pin
ieaeitsch11-Dec-07 22:46
ieaeitsch11-Dec-07 22:46 
GeneralRe: Stupid problem with innerHTML in Javascript Pin
ieaeitsch11-Dec-07 22:53
ieaeitsch11-Dec-07 22:53 
GeneralRe: Stupid problem with innerHTML in Javascript Pin
Michael Sync11-Dec-07 23:55
Michael Sync11-Dec-07 23:55 
GeneralRe: Stupid problem with innerHTML in Javascript Pin
Michael Sync12-Dec-07 0:03
Michael Sync12-Dec-07 0:03 
GeneralRe: Stupid problem with innerHTML in Javascript Pin
WoutL11-Dec-07 22:47
WoutL11-Dec-07 22:47 
GeneralRe: Stupid problem with innerHTML in Javascript Pin
ieaeitsch11-Dec-07 22:54
ieaeitsch11-Dec-07 22:54 
QuestionChoose File Window, how to open? Pin
hifiger200411-Dec-07 1:53
hifiger200411-Dec-07 1:53 
AnswerRe: Choose File Window, how to open? Pin
pmarfleet11-Dec-07 2:40
pmarfleet11-Dec-07 2:40 
QuestionHow to Improve performance of Website(Update Panel) Pin
khansameer11-Dec-07 1:18
khansameer11-Dec-07 1:18 
AnswerRe: How to Improve performance of Website(Update Panel) Pin
Member 647720212-Aug-09 17:55
Member 647720212-Aug-09 17:55 
AnswerRe: How to Improve performance of Website(Update Panel) Pin
maniksan2-Sep-09 21:32
maniksan2-Sep-09 21:32 
GeneralWeb Service in 2005 being called in VB.NET 2003 [modified] Pin
BlueMeanie187810-Dec-07 23:21
BlueMeanie187810-Dec-07 23:21 
GeneralRe: Web Service in 2005 being called in VB.NET 2003 Pin
pmarfleet11-Dec-07 2:42
pmarfleet11-Dec-07 2:42 
Generalconnection between two html pages Pin
neoghy10-Dec-07 21:35
neoghy10-Dec-07 21:35 
GeneralRe: connection between two html pages Pin
Christian Graus10-Dec-07 22:32
protectorChristian Graus10-Dec-07 22:32 

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.