Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2010-09-14
8
Medium Priority
?
440 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 2
8 Comments
 
LVL 29

Accepted Solution

by:
Gautham Janardhan earned 1500 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
Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 

Author Comment

by:jyotiraman
ID: 33679799
It is working
0
 

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
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…

636 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