Solved

document.write

Posted on 2003-11-12
2
255 Views
Last Modified: 2012-05-04
hi there...
i have htm file and on top frame i have asp page and i want to grab the paramenters from top frame and put it on the frame based on my paramenters my stylsheet will be display....

here is my stylesheet A or B -- depends on the user who logon i will get this value from top frame
<link href="Style/divA.css" rel="stylesheet" type="text/css">



function loadme(){
      alert(top.window.frames.banner.currrentDivision) //im getting the division id
               <link href="../../../Style/reAae11a.css" rel="stylesheet" type="text/css">
}

<form onload=loadme()>

</form>
0
Comment
Question by:khan2000
2 Comments
 
LVL 2

Author Comment

by:khan2000
ID: 9732928
function loadme(){
    alert(top.window.frames.banner.currrentDivision) //im getting the division id
              <link href="Style/divA.css" rel="stylesheet" type="text/css">
}
0
 
LVL 7

Accepted Solution

by:
nisarkhan earned 50 total points
ID: 9733576
document.write('<link href="Style/div' + div + '.css" rel="stylesheet" type="text/css">')
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
key press alert 2 32
Create an automated page index 9 47
ASP.NET Content Page 3 25
maven not picking latest jar instead picking old jar from .m2 12 17
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question