tags:

views:

32

answers:

0

Hi everyone,

I need to render HTML dynamically, without touching the server side. It seems like JQuery is a good solution. Please note I am using HTCs.

Does having the HTML/HTC controls render in steps rather than all at once raise performance concerns? If not, is there a property I can set on a page (IE-6 through IE-8 compatible) that will tell that page, literally, store the HTML, do not waste time rendering the content at all?

    //Javascript
   switch(condition1)
    {
        case "a":
        $("#mydiv").append("<a large amount of nested HTML, in string format, with dynamic IDs />")
            }
    break
    if(condition2)
        {
            $("#SomeDynamicID").append("<a bunch more html>")

            $("#mydiv").wrapInner("<CUTEWRAPPER />")
            //cutewrapper is defined by some HTC and probably and hopefully has the same performance ramifications as inline javascript>")
        }