473,383 Members | 1,759 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

disable back button of window(toolbar)

Hi

In my web application,in one of the page
where I need to disable the back button of the toolbar.

Suggestions on this are welcome.

Thanks,
Vani.


Feb 1 '06 #1
2 1336
Patrick,
the problem is that in my web application a have a search feature , when the
user searches and gets the results, at that page i.e from result page he
should not go to previous page(search page),as the page should reload.
But if any body cliks on back button the history will be loaded,so I want to
avoid that.
"Patrick.O.Ige" <na********@hotmail.com> wrote in message
news:Oe**************@TK2MSFTNGP14.phx.gbl...
Vani depending on what you want to do you can
simply use this code in head tag u will block user to go back through back
button
<script language="javascript">
window.history.forward(1);
</script>
Do you need it after loggin out ur users?
Patrick
"Vani Donthula" <va***********@cycustech.com> wrote in message
news:uI**************@TK2MSFTNGP10.phx.gbl...
Hi

In my web application,in one of the page
where I need to disable the back button of the toolbar.

Suggestions on this are welcome.

Thanks,
Vani.



Feb 1 '06 #2
Vani Donthula,
Yes you can do that just add that script to the page you are
pointong too ( i mean the result page)
It should work.Patrick


*** Sent via Developersdex http://www.developersdex.com ***
Feb 17 '06 #3

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

Similar topics

15
by: Code Monkee | last post by:
How can the toolbar and menubar be hidden in IE? When opening the window via javascript I can specify 'toolbar=no,menubar=no', which works fine. However if the window already exists how can I...
3
by: Chris | last post by:
Hi I have designed my website to fit my standard windows. I use a javascript scroller that nescitates the removal of the browser scroll bars. However if a user has an extra toolbar open in...
12
by: DEN | last post by:
Hello, I need to remove toolbar and menubar from my current window (not opened with window.open, it would be too easy!!!). I've tried to use the window.toolbar.visible=false property, but it has...
0
by: jbbs | last post by:
I have a question regarding on the button and label. i don't know why when the mouse cursor points on the button, i see the button is flirking. is there anyway to make it not behave like that?...
2
by: Dntc | last post by:
Hi All Is there anyway to enable/disable the toolbar buttons on the fly as like in MFC which helps centralizing this process?Let's i have a toolbar button ToolbarButtonSave which can be...
3
by: Michael C | last post by:
How on earth do you disable ToolBar Buttons and change the images on ToolBar buttons at run-time? Thanks, Michael C.
0
by: piercy | last post by:
Hi, I am developing a tool bar for outlook using VSTO. I Managed to add my tool bar to the standard outlook window however, I also need to add the tool bar to the "New Mail Message" window. I tried...
1
by: LVenkatrao | last post by:
how to remove toolbar and menubar of a jsp page i tried to use window.toolbar.visible=false not working and giving some javascript error window.open(attributes) will not because i don't want to open...
3
by: vaniKanabathy | last post by:
I had used toolbar to replace button usage in program . I had disable the image button in toolbar but it not displayed in a shaded mode when disabled. How can i do it because i want to differentiate...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.