Get me the Any help to point me in the right direction is greatly appreciated. Try this type Or you can call directly and also clicked in quote because it is the name of a square toggle = function on
"unexpected token =" function (EVT ) {
Sample the code below. I have done many posts, but do not think why it is throwing this error.
& lt; Script type = "text / javascript" & gt; ("Click", toggle nave); Function = $ (this), $ (document) .ready (function ($) {$ ("# nav" gt; li & gt; a) ("class"); $ ("#nava"). RemoveClass ("btn1btn2btn3btn4btn5btn6btn7"). Adclass (clicked); evt.preventDefault ();}}); & Lt; / Script & gt;
var toggleNav = Function (evt) {var click = $ (this). Parent (). Attr ("class"); $ ("#nava"). RemoveClass ("btn1btn2btn3btn4btn5btn6btn7") adeclass ('clicked'); Evt.preventDefault (); }
function toggle nav (evt) {var click = $ (this). Parent (). Attr ("class"); $ ("#nava"). RemoveClass ("btn1btn2btn3btn4btn5btn6btn7") adeclass ('clicked'); Evt.preventDefault (); }
No comments:
Post a Comment