Here' s the jsFiddle. It works here, but it doesn't work when I put it in the actual code. =/ I wonder what's wrong... I'm using Mootools 1.2, btw. Thanks for the help.
http://jsfiddle.net/kwaZd/ Regards, kazuo On Jul 17, 2:28 am, Ryan Florence <[email protected]> wrote: > It's as okay as the going on a date with somebody who is hideous to look at. > Your call :P > > There's nothing wrong with `a.setStyle('display', 'none')` in MooTools, so > something is busted in your code. > > Looking forward to the jsfiddle. > > On Jul 16, 2010, at 12:06 PM, KaZuo wrote: > > > > > Thanks for the quick reply. I'll make one right away, but just a > > question: > > > document.getElementById(a.get('id')).style.display = 'none'; > > > Is this ok? Would this have compatibility issues with other > > browsers? > > > If the answer is no, then that means my problem's solved. Thank you so > > much for your help. > > > Regards, > > > kazuo > > > On Jul 17, 1:40 am, Paul Saukas <[email protected]> wrote: > >> Kazuo, > > >> We could help you with this if we had 1 or 2 things. Either the actual java > >> script you are having a problem with, aka the button click event code, or a > >> link to the jsfiddle demo working or not so we could see the code . as it > >> stands best we can do is guess.
