Click here to Skip to main content
15,890,882 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: How to develop Smart TV Apps? Pin
prithveesh.goel17-Jul-12 20:56
prithveesh.goel17-Jul-12 20:56 
AnswerRe: How to develop Smart TV Apps? Pin
Richard MacCutchan17-Jul-12 2:50
mveRichard MacCutchan17-Jul-12 2:50 
GeneralRe: How to develop Smart TV Apps? Pin
prithveesh.goel17-Jul-12 20:57
prithveesh.goel17-Jul-12 20:57 
GeneralRe: How to develop Smart TV Apps? Pin
Richard MacCutchan17-Jul-12 21:32
mveRichard MacCutchan17-Jul-12 21:32 
QuestionJavaScript Validation - DropDownLists Pin
EuphorialXTC15-Jul-12 23:04
EuphorialXTC15-Jul-12 23:04 
AnswerRe: JavaScript Validation - DropDownLists Pin
Sibasisjena16-Jul-12 0:08
professionalSibasisjena16-Jul-12 0:08 
AnswerRe: JavaScript Validation - DropDownLists Pin
jkirkerx19-Jul-12 8:57
professionaljkirkerx19-Jul-12 8:57 
Questionusing createElement, not working in IE8 on XP and Server 2003 Pin
jkirkerx13-Jul-12 16:42
professionaljkirkerx13-Jul-12 16:42 
I wrapped up this code, did a final test, and it doesn't work on IE8 in XP and Server 2003. I tested it on firefox, Windows Vista IE, with developer mode for IE7, 8 and 9, works fine.

I can't get it to render in the DOM, and I'm completly baffled by it.

This is the simple part of the code. There's a more complex half not posted, and I really like the way createElement works, like creating html in code behind, it's easy to follow.

I remember reading something about createElement not working very good in IE8, but I can't find the web site again.

I tried document.body.appendChild(table_Progress) just as a test, but it still didn't render.

C#
// Build or Construct a Progress Indicator
        var table_Progress = document.createElement("table");
        table_Progress.id = "_table_Progress";
        table_Progress.setAttribute("cellpadding", "0");
        table_Progress.setAttribute("cellspacing", "0");
        table_Progress.setAttribute("border", "0");
        table_Progress.style.width = "100%";

        // Progress Image
        var tr_Progress_Image = document.createElement("tr");
        table_Progress.appendChild(tr_Progress_Image);

        var td_Progress_Image = document.createElement("td");
        td_Progress_Image.style.width = "100%";
        td_Progress_Image.style.height = "240px";
        td_Progress_Image.style.verticalAlign = "bottom";
        td_Progress_Image.style.textAlign = "center";
        td_Progress_Image.style.margin = "0px auto";
        tr_Progress_Image.appendChild(td_Progress_Image);

        var image_Progress = document.createElement("img");
        var imgProgress = $('[id*="_txt_JQuery_ImageBrowser_LibraryProgress"]').val();
        image_Progress.src = imgProgress;
        td_Progress_Image.appendChild(image_Progress);

        // Progress Message
        var tr_Progress_Message = document.createElement("tr");
        table_Progress.appendChild(tr_Progress_Message);

        var td_Progress_Message = document.createElement("td");
        td_Progress_Message.style.width = "100%";
        td_Progress_Message.style.height = "240px";
        td_Progress_Message.style.verticalAlign = "top";
        td_Progress_Message.style.textAlign = "center";
        td_Progress_Message.style.margin = "0px auto";
        tr_Progress_Message.appendChild(td_Progress_Message);

        var span_Progress_Message = document.createElement("span");
        span_Progress_Message.style.color = "rgb(0,0,0)";
        span_Progress_Message.style.fontSize = "2.0em";
        span_Progress_Message.style.fontWeight = "bold";
        span_Progress_Message.innerHTML = "Generating Product Library Browser";
        td_Progress_Message.appendChild(span_Progress_Message);

        // Append the Progress Indicator to the Panel
        $('[id*="_panel_Preview_Object"]').empty();
        $('[id*="_panel_Preview_Object"]').append(table_Progress);

General[solved] Re: using createElement, not working in IE8 on XP and Server 2003 Pin
jkirkerx15-Jul-12 16:46
professionaljkirkerx15-Jul-12 16:46 
Questionc# Webbrowser javascript submit then blank page Pin
koncuk12-Jul-12 3:36
koncuk12-Jul-12 3:36 
AnswerRe: c# Webbrowser javascript submit then blank page Pin
Sibasisjena12-Jul-12 4:30
professionalSibasisjena12-Jul-12 4:30 
GeneralHow to get the objects of the selected ITem Pin
Vimalsoft(Pty) Ltd11-Jul-12 23:27
professionalVimalsoft(Pty) Ltd11-Jul-12 23:27 
QuestionAdding a link to a table built in Javascript Pin
offroaderdan7-Jul-12 1:04
offroaderdan7-Jul-12 1:04 
AnswerRe: Adding a link to a table built in Javascript Pin
enhzflep8-Jul-12 22:17
enhzflep8-Jul-12 22:17 
AnswerRe: Adding a link to a table built in Javascript Pin
BobJanova9-Jul-12 1:52
BobJanova9-Jul-12 1:52 
AnswerRe: Adding a link to a table built in Javascript Pin
Sanjay K. Gupta9-Jul-12 3:44
professionalSanjay K. Gupta9-Jul-12 3:44 
AnswerRe: Adding a link to a table built in Javascript Pin
twseitex10-Jul-12 10:30
twseitex10-Jul-12 10:30 
QuestionProblem to add new field in javascript! Pin
Erika Silva4-Jul-12 23:33
Erika Silva4-Jul-12 23:33 
AnswerRe: Problem to add new field in javascript! Pin
Erika Silva5-Jul-12 0:14
Erika Silva5-Jul-12 0:14 
GeneralRe: Problem to add new field in javascript! Pin
Erika Silva5-Jul-12 5:45
Erika Silva5-Jul-12 5:45 
Questionautomatically break page in html code Pin
fsajjad4-Jul-12 1:41
fsajjad4-Jul-12 1:41 
Questionhow can zoom image in a datalist dynamically adding images Pin
shannya3-Jul-12 23:30
shannya3-Jul-12 23:30 
Questionfind words from group of letters in a statement using regularexpression Pin
siva4552-Jul-12 23:46
siva4552-Jul-12 23:46 
AnswerRe: find words from group of letters in a statement using regularexpression Pin
Niral Soni13-Jul-12 2:26
Niral Soni13-Jul-12 2:26 
GeneralRe: find words from group of letters in a statement using regularexpression Pin
Peter_in_278013-Jul-12 11:36
professionalPeter_in_278013-Jul-12 11:36 

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.