Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 6th, 2004, 09:05 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default div is disapear when page back

Hi All,
i am writing a jscript in asp.net page , all i have done is i make a checkbox to display or not certain <div> and i use this code,
 
Quote:
quote:if (chk1.checked==false)
Quote:
document.getelementbyid("div1").style.display="non e";
else document.getelementbyid("div1").style.display="";
every thing works fine but when i forward to a certain page and press the back navigation button in IE i find that the div is disappeared.

any one have a Sol.
thanks

Ahmed Ali
Software Developer
__________________
Ahmed Ali
Senior Software Developer





Similar Threads
Thread Thread Starter Forum Replies Last Post
Content page DIV tag problem msbsam ASP.NET 2.0 Professional 0 September 19th, 2008 12:12 AM
using <div>'s to have a left hand pane on web page crmpicco CSS Cascading Style Sheets 2 December 7th, 2007 11:54 PM
Login page back to original page pablohoney Classic ASP Basics 1 October 3rd, 2006 07:09 PM
div is disapeared when go to other page then back alyeng2000 Javascript 3 February 13th, 2004 02:51 PM
go back previous page hosefo81 PHP How-To 2 February 11th, 2004 01:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.