Click here to Skip to main content
15,887,975 members
Home / Discussions / JavaScript
   

JavaScript

 
QuestionRe: Calling an ASMX Web Service through JQuery .Ajax Pin
ZurdoDev2-Feb-15 11:00
professionalZurdoDev2-Feb-15 11:00 
AnswerRe: Calling an ASMX Web Service through JQuery .Ajax Pin
dbrenth3-Feb-15 2:28
dbrenth3-Feb-15 2:28 
QuestionRe: Calling an ASMX Web Service through JQuery .Ajax Pin
ZurdoDev3-Feb-15 2:30
professionalZurdoDev3-Feb-15 2:30 
AnswerRe: Calling an ASMX Web Service through JQuery .Ajax Pin
dbrenth3-Feb-15 2:57
dbrenth3-Feb-15 2:57 
GeneralRe: Calling an ASMX Web Service through JQuery .Ajax Pin
ZurdoDev3-Feb-15 3:02
professionalZurdoDev3-Feb-15 3:02 
GeneralRe: Calling an ASMX Web Service through JQuery .Ajax Pin
dbrenth3-Feb-15 5:14
dbrenth3-Feb-15 5:14 
GeneralRe: Calling an ASMX Web Service through JQuery .Ajax Pin
ZurdoDev3-Feb-15 5:34
professionalZurdoDev3-Feb-15 5:34 
AnswerRe: Calling an ASMX Web Service through JQuery .Ajax Pin
Richard Deeming4-Feb-15 2:12
mveRichard Deeming4-Feb-15 2:12 
dbrenth wrote:
Or am I running in to cross-site scripting problems?

That's the most likely issue - cross-domain AJAX requests won't work without making changes to the server you're calling. You would either need to change the service to use JSONP[^], or set the Access-Control-Allow-Origin header[^] on the server to allow calls from your site.

If you don't have access to the server that's hosting the service, there's nothing you can do from the client side. You'd need to write your own service to proxy calls to the remote service for your site. The client-side code would call your service; your service would then call the original service, and return the results to the client.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


QuestionAsp.net cross-page postback Pin
BobbyStrain31-Jan-15 6:04
BobbyStrain31-Jan-15 6:04 
QuestionAdding client validations on run time using jQuery Pin
indian14330-Jan-15 7:52
indian14330-Jan-15 7:52 
AnswerRe: Adding client validations on run time using jQuery Pin
Member 113784301-Feb-15 14:25
Member 113784301-Feb-15 14:25 
GeneralRe: Adding client validations on run time using jQuery Pin
indian14311-Feb-15 13:11
indian14311-Feb-15 13:11 
Questionpopup box not working Pin
Member 1141289229-Jan-15 10:23
Member 1141289229-Jan-15 10:23 
QuestionListBox Dropdown is displaying items only after blur Pin
indian14328-Jan-15 8:27
indian14328-Jan-15 8:27 
GeneralRe: ListBox Dropdown is displaying items only after blur Pin
jkirkerx29-Jan-15 7:51
professionaljkirkerx29-Jan-15 7:51 
GeneralRe: ListBox Dropdown is displaying items only after blur Pin
indian1433-Feb-15 14:48
indian1433-Feb-15 14:48 
GeneralRe: ListBox Dropdown is displaying items only after blur Pin
jkirkerx4-Feb-15 6:33
professionaljkirkerx4-Feb-15 6:33 
Question(Solved) How to convert Microsoft Word smart tags to normal tags? Pin
samflex23-Jan-15 14:39
samflex23-Jan-15 14:39 
AnswerRe: How to convert Microsoft Word smart tags to normal tags? Pin
Richard Deeming26-Jan-15 2:33
mveRichard Deeming26-Jan-15 2:33 
GeneralRe: How to convert Microsoft Word smart tags to normal tags? Pin
samflex26-Jan-15 12:49
samflex26-Jan-15 12:49 
QuestionDisplay an InnertDiv when outer Div is hidden Pin
indian14320-Jan-15 8:03
indian14320-Jan-15 8:03 
NewsHow to improve Angular performance using delegated events (iv-on-cmd directives) Pin
Michael Collins - Intervalia20-Jan-15 5:09
professionalMichael Collins - Intervalia20-Jan-15 5:09 
GeneralRe: How to improve Angular performance using delegated events (iv-on-cmd directives) Pin
Richard MacCutchan20-Jan-15 5:47
mveRichard MacCutchan20-Jan-15 5:47 
QuestionOnclick event inside loop/fast clicking Pin
Member 1137830215-Jan-15 10:23
Member 1137830215-Jan-15 10:23 
AnswerRe: Onclick event inside loop/fast clicking Pin
jkirkerx15-Jan-15 10:34
professionaljkirkerx15-Jan-15 10:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.