473,654 Members | 3,239 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Refresh webpage with javascript

Hello

I have three frames on my webpage, and two remain constant (the top
and left menu bar). Depending on the selection the user makes in the
left menu, the third frame changes the pages (jsp). Now, my
application has a security system which is controlled by the left menu
bar which does not change until the entire page is reloaded (not just
the main frame). And if a user actually goes into his profile settings
and makes changes to his profile (ie, changes his security levels), I
need that to reflect in the left menu bar. The only way I can get this
done is if I reload the entire page (all the three frames). But if I
do a submit in the mainframe, it just loads the new page in the
mainframe and not in the entire window. Not sure how to fix this. Can
someone help me with this?
I hope this is clear enough.

Thanks in advance.

Gobind

Aug 20 '07 #1
1 2513
On Aug 20, 10:56 am, Gobind <gobind.jo...@g mail.comwrote:
I have three frames on my webpage, and two remain constant (the top
and left menu bar). Depending on the selection the user makes in the
left menu, the third frame changes the pages (jsp). Now, my
application has a security system which is controlled by the left menu
bar which does not change until the entire page is reloaded (not just
the main frame). And if a user actually goes into his profile settings
and makes changes to his profile (ie, changes his security levels), I
need that to reflect in the left menu bar. The only way I can get this
done is if I reload the entire page (all the three frames). But if I
do a submit in the mainframe, it just loads the new page in the
mainframe and not in the entire window.
Ugh! Frames. That alone suggests you should consider reworking your
front-end. Granted, there are legitimate reasons for frames, but
creating a security buffer by loading both secure and insecure windows
in peer frames is not one of them.

To your question:

top.location.re load();

-David

Aug 20 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1803
by: buzz | last post by:
How can I refresh one webpage from another? Many Thanks in Advance
3
23533
by: Troy | last post by:
Hello- I have a website that uses a custom built webserver to serve the pages. (Please don't ask me why my boss had his own web server written). I am displaying a log of information that is an unknown number of rows. This is currently displayed in a table. The table is generated by some code that we had to write (thank you custom webserver) so that the webserver will parse HTML files and fill in the tags we created with some data...
1
1435
by: Jack Nation | last post by:
I have one webpage with a javascript game that will not respond with a context menu when I right-click my mouse on it. However, when I open View and select "Refresh", the page will refresh. All other webpages work OK. Incidentally, when I hit the F5 key, or go to View and select "Refresh", the page will refresh. What am I missing? -- Jack Nation http://www.cedarnet.org/jnation
5
2519
by: lucanos | last post by:
Hey Guys, Hoping that you can help me, as I have been scratching my head and getting nothing but dandruff... SITUATION --------- I have a webpage which users will be viewing, which has forms which can be hidden or displayed at the user's choice. The problem is that they want the page to refresh every X seconds, but if it refreshes when a
2
2280
by: Kevin Chandler | last post by:
I appologize in advance if this is a novice question. I don't have much ASP.Net experience. I have an NCAA tournment selection page that I use asp:button controls. The problem is that everytime I click one of the buttons, the entire page redraws and the screen is scrolled to the top. How can I stop the entire screen from refreshing or how can I stop the page from scrolling back up to the top? Thanks in advance for your help,
3
10023
by: Sameer | last post by:
I have a webpage that has a link button. This link button on click opens up a new page. This is what is happening: 1. Load the web page. 2. Click on the link. 3. Refresh the web-page. Result: The webpage gets refreshed and the link buttons onClick event is fired.
2
9920
by: Bruno | last post by:
Hi ... I have a webpage popup (lets call it POPUP) which refreshes the opener window (this one we call PARENT) when we close it, saying we want to save data. For this, we use top.oWndOpener.refresh();
1
2072
by: rockdale | last post by:
Hi, all I am coding a asp.net application as user data entry and report interface. We also have another C#.net appplication (a server) does some other stuff, my webserver can send and receive message with the C#.net server application. Now the C#.net server application group want me to refresh my webpage to show the real time status when I receive a message from them. I do not think I can do that (correct me if I am wrong). On webserver...
3
2178
by: Jay | last post by:
Hello all, Is it possible to mimic the Ctrl. + Refresh functionality with a button in a webpage using javascript, ideally by placing a button(or link) on a page that when clicked would have the same effect as holding down the Ctrl. key while clicking on the refresh button on the browser. ..J
3
3582
by: lezzo | last post by:
Hi Guys, I am new to this forum and find very interesting. I need your help in one of the script. I got a MySQL table bid_amount, and i want that if some new data comes in this table and where the table data is shown on webpage, that webpage need to be auto refresh. To make it more easy to understand
0
8379
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8294
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8816
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8709
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8494
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8596
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
1924
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.