hide trackback note
[opensuse:news_o_o.git] / wp-content / plugins / wp-postratings / postratings-admin-js.dev.js
1 /*\r
2 +----------------------------------------------------------------+\r
3 |                                                                                                                                                                                       |\r
4 |       WordPress 2.8 Plugin: WP-PostRatings 1.50                                                               |\r
5 |       Copyright (c) 2009 Lester "GaMerZ" Chan                                                                 |\r
6 |                                                                                                                                                                                       |\r
7 |       File Written By:                                                                                                                                        |\r
8 |       - Lester "GaMerZ" Chan                                                                                                                  |\r
9 |       - http://lesterchan.net                                                                                                                 |\r
10 |                                                                                                                                                                                       |\r
11 |       File Information:                                                                                                                                       |\r
12 |       - Post Ratings Admin Javascript File                                                                                    |\r
13 |       - wp-content/plugins/wp-postratings/postratings-admin-js.php            |\r
14 |                                                                                                                                                                                       |\r
15 +----------------------------------------------------------------+\r
16 */\r
17 \r
18 \r
19 // Function: Update Rating Text, Rating Value\r
20 function update_rating_text_value() {\r
21         jQuery('#postratings_loading').show();\r
22         jQuery.ajax({type: 'GET', url: ratingsAdminL10n.admin_ajax_url, data: 'custom=' + jQuery('#postratings_customrating').val() + '&image=' + jQuery("input[@name=postratings_image]:checked").val() + '&max=' + jQuery('#postratings_max').val(), cache: false, success: function (data) { jQuery('#rating_text_value').html(data); jQuery('#postratings_loading').hide(); }});\r
23 }