-
-
Recent Posts
Categories
Archives
-
Meta
Tag Archives: AJAX
KC AVIS client
This is a client application to the AVIS car rental system. This application allows you to provide car rental services to the visitors of your site with AVIS. It acts as client to the AVIS system. Your client can choose … Continue reading
Posted in Other products
Tagged AJAX, AVIS, booking, car, car hire, cars, integrate, integration, php, travel
Leave a comment
Inspecting the WordPress AJAX procedure
Here I describe an unusual way to use AJAX inside WordPress, by usual “admin-ajax.php” URL. Usually we run AJAX in WordPress with following code: add_action(‘wp_ajax_mp_my_action’, ‘my_action’); add_action(‘wp_ajax_nopriv_my_action’, ‘my_action’); function my_action() { … } Then we fire it with GET query … Continue reading
Unexpected parseFloat behavior with this.innerHTML in Chrome
This was an unusual case. In one project, I used the JavaScript parseFloat() function to calculate a final total, but the value came from HTML previously generated by a jQuery AJAX request: $(‘#’+id).html(rezult+’ ‘+currency); … $(‘#total’).html(‘TOTAL: ‘+totalcalc()); The value therefore … Continue reading
Posted in Blog, Hacks
Tagged AJAX, calculate, Chrome, code, final sum, Google Chrome, HTML, HTML code, innerHTML, isNaN, JavaScript, JavaScript function, jQuery, js, js function, NaN, parseFloat, string, sum
Leave a comment
