-3
with a doubt of those. I’m remaking a page a medical site where has a search engine diseases by the letter index,A,B,C,D,E............
On the page, there was a space for the search buttons, I’m picking up to do the evendo, example I clicked on the A button, I have to hide the DIVS, b,c,d,e.... etc.
If you click S you have to hide the Divs, a,b,c,d,e,f,g,h,i,j .... and just stay at S. How can I do this in Jquery or javascript.
<input type='submit' class="button" onclick="showPage('#A')" value="A"/>
<input type='submit' class="button" onclick="showPage('#B')"value="B"/>
<input type='submit' class="button" value="C"/>
<input type='submit' class="button" value="D"/>
<input type='submit' class="button" value="E"/>
<input type='submit' class="button" value="F"/>
<input type='submit' class="button" value="G"/>
<input type='submit' class="button" value="H"/>
<input type='submit' class="button" value="I"/>
<input type='submit' class="button" value="J"/>
<input type='submit' class="button" value="K"/>
<input type='submit' class="button" value="L"/>
<input type='submit' class="button" value="M"/>
<input type='submit' class="button" value="N"/>
<input type='submit' class="button" value="O"/>
<input type='submit' class="button" value="P"/>
<input type='submit' class="button" value="Q"/>
<input type='submit' class="button" value="R"/>
<input type='submit' class="button" value="S"/>
<input type='submit' class="button" value="T"/>
<input type='submit' class="button" value="U"/>
<input type='submit' class="button" value="V"/>
<input type='submit' class="button" value="X"/>
<input type='submit' class="button" value="Y"/>
<input type='submit' class="button" value="Z"/>
Face the first step is to change the
type='submit'
pottype='button'
input. Do this and test– hugocsl