YUI Radiobutton ASP.Net oncheckedchanged -


i'm using yui framework style radiobuttons , want use oncheckedchanged event redirect page. works fine traditional radiobuttons using yui framework oncheckedchanged event never fires. if yui has built in function replacing it. there workarounds this?

so yui replaces <input type='radio'... html looks <span><span><button /></span></span>

so whatever function attaching oncheckedchanged event, have attach click or change event using yui's api, it'd this.

var buttongroup = new yahoo.widget.buttongroup("radiogroup"); //init buttons var buttons = buttongroup.getbuttons(); //get buttons buttons[0].on('click', function(){alert('a');}); //attach event, need iterate buttons array attach events buttons 

Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -