Jquery events foroogle maps infowindow elements are not work inside $(document).ready(function(){}) or script> tag because the elements not added to the dom when browser execute the jQuery. Solution for this problem is need to add one click listener for google maps infowindow. google.maps.event.addListener(infowindow, ‘domready’, function(e){ //Put your jQuery code here }); //example of infowindow jquery…
Author: Sijo Thomas
Codeigniter utf-8 character input data save issue
Codeigniter have utf-8 character input data save issue in some hosting servers like Etisalat. system/core/Utf8.php have function to detect illegal char in input data(post/get). In some cases utf-8 char is consider as illegal and save function will fail. For avoid data saving issue do the following in clean_string() function of Utf8.php at line 85. $str…
Codigniter arabic language issue in etisalat hosting server
Codeigniter have utf-8 character input data save issue in some hosting servers like Etisalat. system/core/Utf8.php have function to detect illegal char in input data(post/get). In some cases utf-8 char is consider as illegal and save function will fail. For avoid data saving issue do the following in clean_string() function of Utf8.php at line 85. $str…
Free Online Tools for Web Statistics
A web analytics tool is necessary for every website to do the tracking of traffic and prepare strategies according to that. Fortunately, there are tons of web statistics tools available in online. Although each analytics tool has its own unique features, but choosing the right one is of utmost importance. Using multiple analytics tools is really…
Change db collation of all tables in mysql
SELECT CONCAT( ‘ALTER TABLE `’, t.`TABLE_SCHEMA` , ‘`.`’, t.`TABLE_NAME` , ‘` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;’ ) AS stmt FROM `information_schema`.`TABLES` t WHERE 1 AND t.`TABLE_SCHEMA` = ” ORDER BY 1 LIMIT 0 , 50 Above mysql query generate Alter table commands for the specified database. Run these sql statement as group.
