Yii Framework + MySQL - Connecting To MySQL
Yii Framework + MySQL Part 1 - Connecting To MySQL - PHP/MySQL Development.
|
||||||
Yii Framework + MySQL - Connecting To MySQL Yii Framework + MySQL Part 1 - Connecting To MySQL - PHP/MySQL Development. One strange difference in my opinion between Firefox and Internet Explorer and most strange of all also a difference to Google Chrome is that the onclick-event is not recnognized. Here is a simple example just to illustrate.
This works fine in Firefox, i.e. the function 'getCategories' gets called when choosing an object in the select box. This does not work for the other browsers though, the calls are not made and there are even no errors raised. The solution is to make the function call on the select-tag instead using the onchange-event referencing the value of the select tag (which will hold the value of the chosen option-tag),
This way it will work for all three browsers! Fonte: http://www.wohill.com/design/335/Replacing-the-onclick-event-for-IE-or-Chrome.html |
||||||
D I S C L A I M E R Powered by WordPress & Atahualpa |