문제

i have a script written as following...

$('#sessions-grid .refreshdata').live('click', function(e) {
         console.log('came in sessions-grid .refreshdata');
      });

My issue in firbug is, its showing console text as below and everytime i clieck the button it doesnt appear again instead a count is there and it increases..

can any one tell me what does this means? i think because of this i am having an issue while trying to do some work in yii cgridview.

i am think weather when i press once, it goes in and keep it looping than finishing the click and stopping and when i click again print the same rather increment.

enter image description here

도움이 되었습니까?

해결책

By default, Firebug groups the console messages if they are the same.

In version 1.12.1, there is a new option called console.groupLogMessages that you can use to disable this behaviour.

Steps:

  1. Enter about:config in the address bar
  2. Search for console.groupLogMessages
  3. Double click it to set it to false

For the full list of Firebug preferences and their description see the Firebug Preferences Page

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top