TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
deepa ashwi
NA
109
602.3k
in asp.net in javascript hoe to redirect a page
Jun 13 2013 6:09 AM
the following is my code which is in my index.aspx ..in the last line i gave as window.open...so,it is opening to a new window called Home.aspx and still the index.aspx is shown but index.aspx has to disappear when i move to Home.aspx.. i.e; index.aspx page has to close i gave window.close("index.aspx"); in Home.aspx page but not working out...how to do.anyone help me know?..please
<script type="text/javascript" >
function pageopen()
{
var Hid = document.getElementById('HiddenFieldCity');
var HidA = document.getElementById('HiddenFieldArea');
var HidC = document.getElementById('HiddenFieldComm');
var HidD = document.getElementById('txtDate');
if (document.getElementById('ddlone').value=="Select Here")
{
alert("Please Select City");
return false;
}
window.open('Home.aspx?hid=' + Hid.value + '& HidA=' + HidA.value + '& HidC=' + HidC.value + '& HidD=' + HidD.value + '',"Welcome","titlebar=0,fullscreen=0,addressbar=0,left=0,top=0,maximized=yes,width=1024,height=700,scrollbars=no,resizable=yes")
}
Reply
Answers (
2
)
how to add facebook, twitter button in asp.net??
how to add google map in asp.net with location?