So I am following the instructions put here https://confluence.atlassian.com/jira064/creating-help-for-a-custom-field-720412166.html for adding in a help area for our custom fields. I have 6 fields that I need to add help for. I was able to change the text on the first one and it worked perfectly. Now when I try and do the others, every time you click on the help icon, it only opens up the first ones hidden text.
I have tried to change the text after document.getElementById and div id= to make them unique, but that just results in the help icon not opening. Has anyone had issues like this in the past and what was done to resolve? I appreciate any and all help
Using the code below:
Help <script type="text/javascript"> function showHelp() { var listenersDiv = document.getElementById("qaFieldHelp"); if (listenersDiv.style.display == 'none') { listenersDiv.style.display = ''; } else { listenersDiv.style.display='none'; } } </script> <a href="#" onclick="showHelp(); return false;"><img src="/images/icons/ico_help.png"/></a> <div id="qaFieldHelp" style="display:none"> DETECTION: Assuming the failure has taken place - this is the probability that it will be detected before it reaches the customer. (for Design FMEA - this may be production.) <table width="100%" border="1"> <tr> <td><b>RANK</b></td> <td><b>CRITERIA</b></td> <td><b>PROBABILITY</b></td> </tr> <tr> <td>1</td> <td>Very high probability</td> <td>86 - 100%</td> </tr> <tr> <td>2</td> <td>Higher probability</td> <td>77 - 85%</td> </tr> <tr> <td>3</td> <td>High probability</td> <td>66 - 76%</td> </tr> <tr> <td>4</td> <td>High to Moderate probability</td> <td>56 -65%</td> </tr> <tr> <td>5</td> <td>Moderate to high probability</td> <td>46 - 55%</td> </tr> <tr> <td>6</td> <td>Moderate probability</td> <td>36 - 45%</td> </tr> <tr> <td>7</td> <td>Moderate to Low probability</td> <td>26 - 35%</td> </tr> <tr> <td>8</td> <td>Low to Moderate probability</td> <td>16 - 25 %</td> </tr> <tr> <td>9</td> <td>Low probability</td> <td>6 - 15%</td> </tr> <tr> <td>10</td> <td>Remote probability</td> <td>1 - 5%</td> </tr> </table> </div>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you show us the code you're using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.