How do you get DS javascript to display an html section

Sort:
You are not authorized to post a reply.
Author
Messages
cdodrzywolski
Basic Member
Posts: 21
Basic Member
    Hello all,

    I am trying to create a portal page in design studio. in the javascript section i have some html code that i have assigned to a variable. How do i display this in the portal?

    In our version of the code that was in our previous asp page we used

    self.CONTROLITEM.document.write(arg);

    along with the frame:
     

    Is there a way to do this in design studio

    Thanks
    - Chris
    cdodrzywolski
    Basic Member
    Posts: 21
    Basic Member
      I thought I would elaborate on this a little. What i want to create is a dynamic html table within my portal page. I alreay have the javascript with embedded html in it.

      ex.
      var arg = '
      Dept /
      Job
      Sunday
      ' + cur_sun_mdy + '
      Monday
      ' + cur_mon_mdy + '
      David Williams
      Veteran Member
      Posts: 1127
      Veteran Member
        You should be able to loop through the records and use HTML table definitions to build the data and format you want, assigning it to a variable. Then you could do a document.write of that variable.
        David Williams
        You are not authorized to post a reply.