FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
back Javascript, Checkboxes and the back button! (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: back Javascript, Checkboxes and the back button!
#2295
Marc Pinnell (Visitor)
Click here to see the profile of this user
Birthdate:
back Javascript, Checkboxes and the back button!  
Hey all, slightly off topic so I hope you will forgive me. Trying to   figure out some JS that is above my head a little and not sure how to   proceed so any advice is appreciated. The scenario: I have a page with some categories and sub-categories. The subs are   not shown until you click on the main cat which - through the magic of   js - opens/shows the div containing the subs. Each Div has its own   unique ID. User can then select from the subs and submit the form. The problem: If they then use the back button on the results page, all the divs   are closed/hidden - even though the boxes are still checked and would   be submitted with any subsequent submissions. The idea: I would like to have some type of _onload_(?) _script_ that would open/ show all divs that have selected checkboxes. Can this be done?   Suggested code to accomplish this? Is there a way to tell the   difference between a back button and a regular page load? Tia, Marc
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2296
Bil Corry (Visitor)
Click here to see the profile of this user
Birthdate:
back Javascript, Checkboxes and the back button!  
The problem: If they then use the back button on the results page, all the divs are closed/hidden - even though the boxes are still checked and would be submitted with any subsequent submissions. If you're using jQuery, look at the History plug-in:         http://stilbuero.de/jquery/history/ - Bil
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2297
Deco Rior (Visitor)
Click here to see the profile of this user
Birthdate:
back Javascript, Checkboxes and the back button!  
The problem: If they then use the back button on the results page, all the   divs are closed/hidden - even though the boxes are still checked and would be submitted with any subsequent submissions. If you're using jQuery, look at the History plug-in:    http://stilbuero.de/jquery/history/ - Bil
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2298
Bil Corry (Visitor)
Click here to see the profile of this user
Birthdate:
back Javascript, Checkboxes and the back button!  
Have you used this? No.  It works off of the hash (anchor) in the URL, so when you hit the back button, it picks up the last hash. - Bil
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2299
Deco Rior (Visitor)
Click here to see the profile of this user
Birthdate:
back Javascript, Checkboxes and the back button!  
Have you used this? No.  It works off of the hash (anchor) in the URL, so when you hit   the back button, it picks up the last hash. - Bil
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2300
Marc Pinnell (Visitor)
Click here to see the profile of this user
Birthdate:
back Javascript, Checkboxes and the back button!  
Deco Rior wrote on 4/2/2009 2:29 PM: Have you used this? No.  It works off of the hash (anchor) in the URL, so when you hit   the back button, it picks up the last hash. - Bil
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Members login






Lost Password?
No account yet? Register
 

Syndicate

California fitness

Top article

Protect your skin PDF Print E-mail


When is getting cold, we assume warmer sweater, we warm with the raspberry tea ... And what about our skin? Help and care for her condition in autumn and winter. Methods of skin care products need to adapt not only to our age, as well as to changes of season. If you don't care about protection cosmetics after summer or winter, you need to change that. Each season is ruled by its laws. It is clear that in winter we use other cosmetics than in spring, summer or autumn. With each season, some other skin care needs.

Atmospheric factors, such as cold air, gusty wind, snow and low temperatures are extremely detrimental to our skin. The skin of hands and face is the most exposed to the autumn and winter of irritation, such as the frostbites that cause drying of the skin. The decrease of temperature reduces production of tallow, a cold wind makes it less blooded, which negatively affects its metabolism. The result is dehydration of skin, the resulting increase in sensitivity, and sometimes even flaccidity.

Fortunately, thanks to appropriate care, this problem can be remedied. Not only the outdoors are waiting for us of danger, the form of the skin also affects the hot air in the premises. How do I fix this? Help a few tips.

Former articles

Healthy lemon diet

Most people has strange feelings at the same thought of eating a few lemons. On the one hand, well, because diet based on the same lemons does not belong to the healthiest. But the juice of sour fruit, used as an additive is worth attention. How does it work? You need 2 tablespoons juice from freshly lemons, 250 ml of mineral water, 1 teaspoon maple syrup, a pinch of Cayenne pepper) per day - the first for 30 minutes before breakfast. The main meal should consist of fruit, yogurt and almonds.

Fitness in Venice Beach style

Fashion celebrates embroidery Zaun return often! The latest collection of Venice Beach Spring / Summer 2009 refers to the style of the eighties, which translates into a cut, color and choice of materials. Dominated by loose clothing, which appears to be large, not lacking in the collection of popular in the eighties leggins, suits, narrow tube-type pants, shirts in size XXL. Dancing flower motifs neon colors and sharp recall times where the boom began to aerobics, and street fashion  

The magic act of aloes

If you ever burn being under the care of grandmother, sure you know very well aloes action. This plant brings relief charity in the case of other injuries, and may also be a component of ... healthy diet. Power witched mainly in aloes merit specific properties of plants. Occurring in arid regions of aloes recalls cacti - collect water, to survive in a bad climate. It does not have stalks, and the edges of its leaves has lots of spikes.

 
Kidney diet plan

For the sake of the kidneys and drink water with salt, remove this option. A list of recommended products, and not indicated in the kidneys of patients is much longer, because the subject is a kind of disease. Diet for the kidney is a key organ of our body, often forget about them. It was only when sick, we do not care about. It is considered to what we eat, because the diet has a major impact on treatment and avoidance of illness nefrological. For example, to avoid kidney stones is enough to adequately nourish.

 
Ladies pump Kneel on the floor

If you exercise with weights makes it difficult to maintain the correct figure, remove this option from its use. All exercises you can perform without the burden of success using their own muscle power. Ladies pump Kneel on the floor. Put your body on your knees and hands at shoulder width. Try to loose the neck and look down. Very important in the performance of pomp is all muscle tension. Put abdomen, while bearing in mind the tension buttocks. Body from knee to shoulder should form a straight line.

biura kursy php warszawa Toruń nieruchomości opakowania foliowe wybielanie