Anyone at all?
On Oct 16, 6:34 pm, ngreenwood6 <ngreenwo...@gmail.com> wrote: > I tried adding in return false at the end of my function, however that > did not fix the issue. Any other suggestions? > > On Oct 16, 8:37 am, rupak mandal <rupakn...@gmail.com> wrote: > > > if the problem is reload then add "return false" at the end or the function > > > On Fri, Oct 16, 2009 at 6:02 PM, ngreenwood6 <ngreenwo...@gmail.com> wrote: > > > > I tried doing that as well and it still does the same thing. It must > > > be changing the display that makes it reload. To test all you have to > > > do is create a div with embed code and call show/hide on it and you > > > will see. > > > > On Oct 16, 3:02 am, Evgeny Bobovik <bobo...@gmail.com> wrote: > > > > Try to use this method: > > > > <script type="text/javascript"> > > > > function showEmbed(){ > > > > if($("#test").css('display') == 'block'){ > > > > $("#test").css('display','none'); > > > > } else { > > > > $("#test").css('display', 'block'); > > > > }} > > > > > </script> > > > > Gk___ > > > > > 2009/10/16 ngreenwood6 <ngreenwo...@gmail.com>: