jquery toggle is not working for me -
On, I have "Read more ..." in the first Lorame ipsem paragraph. This is a
& lt; Span id = "s-hpi" & gt;
I have:
& lt; Script type = "text / javascript" & gt; $ (Document) .ready (function () {$ ("# s-hpi"). Click (function () {$ ("# hpi"). Toggle ();}); & lt; / script & gt; ;
In the head area.
However, clicking # s-hpi does not toggle #hpi. How can I fix it? Thank you. / P>
You forgot the ending brace for document ready function
$ (Document) .ready (function () {$ ("# S-hpi") (function () {$ ("# hpi") Toggle ();})}};
Comments
Post a Comment