Solved

restrict address bar(url) user can not change it once write it

Posted on 2010-09-14
8
430 Views
Last Modified: 2013-11-07
I will open a web page as popup window in which I will take feedback form tha only username (Textbox) and comments((TextBox) but it will just come when user write on addressbar(by URL) and we restrict them(user) dont change the address of that page until fill the form or close it.
0
Comment
Question by:jyotiraman
  • 6
  • 2
8 Comments
 
LVL 29

Accepted Solution

by:
Gautham Janardhan earned 500 total points
ID: 33679657
you can hide the address bar instead of restricting entry (don't know whether we can do that)
var window_dimensions = "toolbars=no,menubar=no,location=no,scrollbars=yes,resizable=yes,status=yes"  
window.opener=self  
window.close()  
window.open("[url]","_blank",  window_dimensions);  
window.moveTo(0,0);  
window.resizeTo(screen.width,screen.height-100);

Open in new window

0
 

Author Comment

by:jyotiraman
ID: 33679753
How I will use on the page(a.aspx) and will call another(b.aspx) page and url will hide.
0
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 33679776
yep from a.aspx page you can invoke this script by passing the url of the second page(b.aspx).
0
 

Author Comment

by:jyotiraman
ID: 33679799
It is working
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:jyotiraman
ID: 33978090
it good
0
 

Author Comment

by:jyotiraman
ID: 33978756
its good
0
 

Author Comment

by:jyotiraman
ID: 33978872
it shoul slose now
0
 

Author Closing Comment

by:jyotiraman
ID: 33978929
I want to close this question now
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

708 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

11 Experts available now in Live!

Get 1:1 Help Now