Pages

Sunday, March 28, 2010

ExtJS -=- Event on an anchor link

Hi!

If you want to use anchor tag (A) in your application with ExtJS, you must consider it as a button. Here's an example how to do this:

Anchor tag
Sign In



JavaScript
 var signIn = Ext.get('signin');
 signIn.on('click', function() {
      //console.debug("CLICK");
      // Your instructions here...
});

No comments:

Post a Comment