On 10月1日, 下午7時44分, Oskar Krawczyk <oskar.krawc...@gmail.com> wrote: > Put it inhttp://jsfiddle.netand paste back a link. > > On Oct 1, 2011, at 10:13 AM, verymeang...@yahoo.com wrote: > > > > > I have a fairly simple code: > > > $('homeButtonImage').setStyle('background-image', 'url("button > > %20clicked2.jpg")'); > > > referring to the <th> in the following <table> > > > <table> > > <tr> > > <th></th><th id="homeButtonImage" class="button"><a > > id="homeButton" href="#">關於我們</a></th> > > <th></th><th id="secondPageButtonImage" class="button"><a > > id="secondPageButton" href="#">Second Page</a></th> > > <th></th><th id="thirdPageButtonImage" class="button"><a > > id="thirdPageButton" href="#">Third Page</a></th> > > <th></th><th id="fourthPageButtonImage" class="button"><a > > id="fourthPageButton" href="#">Fourth Page</a></th> > > <th></th><th id="fifthPageButtonImage" class="button"><a > > id="fifthPageButton" href="#">Fifth Page</a></th> > > </tr> > > </table> > > > But the background image does not get reset. What is wrong? > > > Thanks!- 隱藏被引用文字 - > > - 顯示被引用文字 -
http://jsfiddle.net/BoPoMoFo/m4a3X/1/ Can you access it? Thanks!