Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function() {
- $(".gsmDegistir").editable("'.$yazilimurl.'?sayfa=ajax;stil=smsRehber;islem=gsmDegistir", {
- indicator : '<img src="'.$resimurl.'/site/ajax-loader.gif">',
- tooltip : "'.T_('Düzenlemek için çift tıklayın...').'",
- event : "dblclick",
- style : "inherit",
- cancel : "İptal",
- submit : "OK",
- placeholder : "",
- id : "trid",
- name : "yeniGsm"
- });});
- $(document).ready(function() {
- function loading_show()
- {
- $("#icerikYukleniyor").css("display","block");
- }
- function loading_hide()
- {
- $("#icerikYukleniyor").css("display","none");
- }
- function loadData(page)
- {
- loading_show();
- var rgid = $("select#grupSec").val();
- $.ajax({
- type: "POST",
- url: "'.$yazilimurl.'?sayfa=ajax;stil=smsRehber;islem=rehberListesi",
- data: "p=" + page + "&rgid=" + rgid,
- success: function(veri) {
- $("#rehberTelefonListe").ajaxComplete(function(event, request, settings)
- {
- loading_hide();
- $("#rehberTelefonListe").html(veri);
- });
- },
- error: function() {
- $("#rehberTelefonListe").html("'.T_('Bağlantı sorunu oluştu.').'");
- }
- });
- }
- loadData(1); // For first time page load default results
- $("#rehberTelefonListe .pagination li.active").live("click",function(){
- var page = $(this).attr("p");
- loadData(page);
- });
- });});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement