How to retain the disable state of the button after page refreshing

This is a discussion on "How to retain the disable state of the button after page refreshing" within the JavaScript Forum section. This forum, and the thread "How to retain the disable state of the button after page refreshing are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 9th, 2007, 11:32
New Member
Join Date: Sep 2007
Location: India
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
How to retain the disable state of the button after page refreshing

Hi Experts here,
Pls help.
<B>when I disable the button using the code
document.getElementById("mybutton").disable=true;
it is disabling perfectly but when the page gets refreshed again it comes
to enable position
so, I need a code even when the refreshing the page also my button is in disable position.<B>
Thanks and Regards,
Srinivas yadav.
Reply With Quote

  #2 (permalink)  
Old Sep 9th, 2007, 14:17
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: How to retain the disable state of the button after page refreshing

uhh could put it in a function,
then call it with body onload.
or store it in a cookie.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
Reply

Tags
head and body

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Button triggering movie state WakeoftheBunT Flash & Multimedia Forum 3 Nov 6th, 2006 13:15
Setting the state of a button using actionscript artdog Flash & Multimedia Forum 6 Oct 18th, 2006 14:45
Disable button Nick JavaScript Forum 26 Jan 29th, 2005 07:20
[SOLVED] Disable Button while using Tabs Anonymous User JavaScript Forum 1 Sep 14th, 2004 09:12


All times are GMT. The time now is 10:52.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43