Thanks for your help.
fulio pen
On Tuesday, October 16, 2012 12:01:31 AM UTC-4, nwhite wrote:
must be feeling generous today....The below snippet has the changes in red that will fix your problem. All you need to do is change your reference to the "second" table so the show() and hide() functions can reference correctly.Fullio, this solution is a train wreck. You would probably be better served using a dom library like jquery to help ease the burden of walking the DOM. It would also make quick work of attaching event listeners instead of inline "onclicks". Reading about javascript scopes and event binding might be a great place to start if your interested in improving your code.
<!-- are you better? 1 --> <table class='solute'> <tr> <script type='text/javascript'> for( var i=0;i<text2beshown[0].length; i++ ){ document.write('<td class="miDi"><span id="td_1_'+i+'"> </span></td>'); } </script> </tr> </table> <form> <input type='button' value='Ideographs' style='margin-right:15px;' name='name1' onClick="loc=1;showIt()" /> <input type='button' value='Hide' name='name2' onClick="loc=1;hideIt()" /> </form> On Mon, Oct 15, 2012 at 5:42 PM, Erik Eckhardt <sill...@gmail.com> wrote:
I don't think visiting your link is a good idea.
Smells like spam/phishing. Reply with your question, please.--On Sat, Oct 13, 2012 at 12:53 PM, Fulio Pen <fuli...@yahoo.com> wrote:
My questions are presented in the following web page:Thanks a lot for your help.fulio pen--
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.