jquery click event run one time only -
There is a problem with IM click event. It runs 1 time. Example:
I have 3 pages (1 2 3). When I click on 2 then it works and then it works again in 3 pages. But I click on 2 works again. Event has not been triggered.
$ ("div .top.pagination a"). Click (function () {PagNrClick = $ (this) .text (); PagNrOld = $ (".top.pagination .current"). Text (); RegMin = (NrReg-1) * (PagNrClick-1); // Option to Activate a Page $ ("top.pagination. Current"). Replacewith ('& lt; a title =' '+ PagNrOld +' "href =" # '+ PagNrOld +' "rel =" History "& Gt; '+ PagNrOld +' & lt; / a & gt; '); // Click on a page (this). (RegMin% 2 || RegMin% 0) {RegMinValue = RegMin;} and { RegMinValue = RegMin + 1;} //: gt (0) - greater than 0 ny pounds mostly 1 ยบ degree positive pound o (bug du groceries ??????) (PagNrClick == 1) {$ ( "# Thumbs li: eq (0)"). Show ();} // Escond Tudos OS raj Most of the 12 Progms registers are $ ("Thumb: Visible"). Hide (); $ ("Thumbs li: gt" ("+ RegMinValue +"): LT ("+ NrReg +") ".) ;}); I have entered the code in jsfiddle
$ ("div .top.pagination"). ('Click', 'a', function () {/ * ... youre event code ... *}}; You can also use .live () in previous versions. But it has been boycotted.
Comments
Post a Comment