c# - Why Jquery pop up it's not woking on Server -


jquery dialog not working on iis server in local machine below code working fine. in server mapped url not working it's throwing error '404 resource not found ' that.

jquery code

$('#new dialog')dialog({             auto-open: false,             width: 345,             top: 76,             re sizable: false,             title: 'add ad details',             modal: true,             open: function (event, ui) {                 $(this)load("../ad/ad manage?atype=" + adtype);             },             buttons: false,             position: {                 my: 'top',                 at: 'top',                 of: $('.maindiv')             }          });         //---------------------------------         $('.clk')click(function () {             $('body,html').addclass('hide scrolls');             $.ajaxsetup({                 // disable caching of ajax responses */                 cache: false             });             idimg = $(this).attr('id');             $('#dialog').dialog('open');         });         $('.tp').click(function () {             $('body,html').addclass('hidescrolls');             $.ajaxsetup({                 // disable caching of ajax responses */                 cache: false             });             adtype = $(this).attr('id');             $('#newdialog').dialog('open');         }); 

above code working on local machine in server it's not working,i'm getting error 'resource not found error' please tell me need change in above code reference.

not sure if correct, in script says ('id'), shouldn't putting #id in there?


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -