Calling a javascript function between seperate pages inside a frameset.

Posted on 2007-07-24
Last Modified: 2008-02-20
I'm using jQuery library and ASP 2.0. I've been forced to use frameset for my project and I need use an external javascript function to block the UI (called blockUI()).

So I have the Default.aspx and that has two frames within that files called rightFrame.aspx and leftFrame.aspx. What I'm trying to do is to block the whole UI with some text. It's acceptable to block only the rightFrame.aspx using the jQuery blockUI function but the function call, always come's from the leftFrame.aspx. I've tried to do something like:


but that didn't work, so i made a function called changeLanguages() inside the rightFrame.aspx that calles the blockUI on itself but now I can't use the classical javascript to call it.

Does anyone know how I call a jquery function on to a parent frameset page (default.aspx) and/or to call the selectLanguage() function from the leftFrame.aspx

Here's a link to the blockUI page:
Question by:wldrbit
    LVL 58

    Accepted Solution




    LVL 1

    Author Comment

    top.frames[1].$.blockUI(); worked perfectly for the jQuery call

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
    Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

    733 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now