I currently have an application where in the Ext.onReady function I'm creating a few Ext.Buttons and be applied to some specific div tag which is defined in my page. This works just fine in Chrome and Safari but in Firefox the buttons never appear. I'm currently using version 3.3.1 of ExtJS.This is what the Ext.onReady call looks like:
Code:
Ext.onReady(function() {
new Ext.Button({text: '<div style="font-weight:bold;">Purchase Now!</div>',
handler: purchaseMule,
applyTo: premiumMulePurchaseButton,
width: 100,
height: 35,
id: 'premiumMule'}); });
My div tag is defined like the following:
<div id="premiumMulePurchaseButton"></div>
Any help is greatly appreciated.