Hi I can't get my toggle button to work so once again I'm here hoping for some good soul to help me. Below is my jQuery code. I have 2 css clasess 1st is play with a referenace to jpg play and the 2nd one has reference to pause.jpg. All i want is simply to toggle between the two.
html
<span id="play"></span>
css
#play
{
width:100px;
height:60px;
background-image: url(../images/play.jpg);
float:left;
}
#pause
{
width:100px;
height:60px;
background-image: url(../images/pause.jpg);
float:left;
}
jQuery
$(document).ready(function(){
$('#play').click(function(){
$(this).toggleClass("#pause");
});
});