showhide

How to hide Amazon webstore default toolbar with Prototype?

Hi Guys, after playing around this morning, i've found that there's this default chunk of html code in the amazon webstore which will add a toolbar on top of the page. the html looks like below: <td id="wba_logo_bg"> <table class="logo" border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr><td align="left"></td> <td cl...

show/hide div based on radio clicked with class

hello. I have 4 radio buttons that correspond to 4 different divs. i want to fadeOut the current div and then fadIn the new selected one. right now its working but just fades between images. Also is there a way to change the divs based on the radio's class and not value? Code I currently have: <input type="radio" name="myRadio" class...

How to show or hide the next div based on all the form fields of the previous div being filled or not!

I have a form with many divs inside. Each div is categorized and has various fields to be filled up by the user. I want to have a flow here so that the user can fill the fields in the second div only after filling the fields in the first div. In short show the second div after filling the fields in the first div and so on. I tried using...

How to use jQuery to show content based on whether radio button is checked.

Hi. I'm stuck on something. I have a form that has fields which only show when a particular radio button is checked. This is easy enough to when someone is filling out the form for the first time using the following code. HTML <fieldset id="question"> <legend>This is my question</legend> <label for="answerYes">Yes</label> <input ...

jQuery Toggle Show/Hide w/Multiple DIV ID's

CODE: $(document).ready(function() { $('.toggle').hide(); $('.show').click(function(){ $('.toggle').toggle('slow'); $(this).attr('src','images/checkmark2.jpg'); },function(){ $('.toggle').toggle('slow'); $(this).attr('src', 'images/checkmark1.jpg'); return false; }); }); ...

jQuery show/hide to cycle through tables

Hi, I need to set up jquery to cycle through tables, making sure it shows/hides the right one. The basic HTML structure is: <p><a href="#" class="month-next">Next Month</a></p> <table class="month-show"><tr><td>blurb</td></tr></table> <table class="month-hide"><tr><td>blurb</td></tr></table> <table class="month-hide"><tr><td>blurb</t...

Impromptu conditional display of dtpicker

Hi, I have two checkbox on prompt box i.e If user click yes I have to show dtpicker and user click no hidden the dtpicker. I tried following $('#yes').click(function(){$('#dtpickerdiv').css("display","block");}); but the hidden div doesn't appear on prompt box? I tried alerting following alert -$(‘#dtpickerdiv’).css(“display”) : ...

jquery show/hide integrated with toggle/accordion effect

I have a show/hide toggle working well in multiple instances (thanks to help here - search for 'jquery toggle to work in multiple instances'). I want to integrate it into an expanding menu / accordion style for the main categories. I have a script and it works on its own but I can't get it to work integrated with the show/hide. Any he...

Javascript problems?

I've been staring at the source code of these two download pages for awhile now and i can't seem to find the problem. I have two download pages, one where the javascript is working, one where it isnt. working: http://justupload.it/v/lfd7 not: http://justupload.it/v/ljhv The working one allows me to rotate the image and reveal the comm...

Hide a UL when a url is loaded

hi , i am having a form -search below that on search i am listing the matched records below the search form .. But even by default case without any search when i load the search form i am getting all the entries by default.. which is coming in a UL.. So i am trying to hide a div when the particular url is loaded .. How to do so?? ...

Toggle problem pls help me

Hy I am a uber nube to jquery my question is like this: if I have multiple toggle on same page and the div I`m toggleing must be desplayed in the same div. For example I have in div 'box' 6 divs named '1' '2' '3' '4' etc and all are hiden if I click on a 'a' tag named 1 it will display content div 1 in div 'box' if I click tag 'a' na...

Show/Hide divs on radio selection

I have 3 divs that contain radio with labels and beneath each radio button I would like to show/hide a form based on whether the radio is selected or not. Code idea: <div id="radio1"></div> <div id="form1"></div> <div id="radio2"></div> <div id="form2"></div> <div id="radio3"></div> <div id="form3"></div> Using prototype does anyon...

How do I show/hide multiple divs (not possible for each to have a unique ID) in a Rails app?

I need to create a 'Reply' button that shows a form for any item in a feed. In other words, it can't be showing/hiding something with a unique div id, because it has to work for any of a (potentially) infinite number of items. If I use code like this: <% @questions.each do |question| %> <%= question.content %> <a href="" onclick="s...

asp.net page reloading on javascript onclick function

Hi guys, Novice question I guess: The Scenario: I have an asp.net page that contains 6 divs and 6 hyperlinks which are linked to javascript function: function showdiv(divname) { hideallcontentdivs(); var targetdiv = document.getElementById(divname); targetdiv.style.display="block"; } var alldivs=new Array(); function hideall...

if div has content show div

ok heres what i have... it works fine but it looks for a word rather than content. i just want it to show when there is any content.. $(document).ready(function(){ if ($("#box3:contains('Product')").length) { $('#third').show(); } }); i dont think you need the htm...

Show/Hide child table(html) on selection radio button in master table

Hi all, I have requirement where on selecting radio button in the main table a child table has to appear below. Can anyone help me......pls. thx. ...