yanasdf789

how  to  stop event ?

Discussion created by yanasdf789 on Oct 30, 2012
Latest reply on Oct 31, 2012 by odoe
i  have two  buttons,  name  btn1,btn2
    btn1  's  click  function{

   dojo.connect(map,"onclick",identify);

}

btn2  's  click  function{

   dojo.connnect(toolbar,"onDrawEnd",QueryinExtent)
}


My  question  is :
when  i  click btn1  first,then click btn2,but  the two  events  all  happen!!!!!!
when  I  use  toolbar draw event,  how  to  stop  the  map's  onclick  event?


help  help  help !!!!!!!1

Outcomes