PDA

View Full Version : Event Handler in HTML in TabPanel



youngph
29 Oct 2010, 1:59 PM
I am trying to reuse some HTML code by including it as the content of the html attribute of a panel
being added to a TabPanel. This existing HTML comes from a web application that shows a list of links
to search results, along with additional links used to rate these search results. When these links are
clicked upon, an onclick event handler calls the Ext.Ajax.request() function, which causes PHP code to
update a database. However, when I add the onclick event handler to the links in the Ext app, the program
stops working.

How can this be done? If this is the wrong way to go about this, is there a better way to do this?