Solved

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

Posted on 2010-09-14
8
434 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

This very simple solution applies to a narrow cross-section of the "needs to close" variety. In this case, the full message in Event Viewer was in applog, Event ID 1000: Faulting application iexplore.exe, version 8.0.6001.18702, faulting module …
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

786 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