jqmodal - Error calling webservice using JSONP + jquery with IE on remote domain -


One on my app server Net service which gives formatted data as JSONP. I have an HTML Test Client that works on the server that is IE, Firefox, and. Chrome If I deploy the same HTML to my workstation or deploy on my webserver, then this Firefox & amp; I get two JavaScript errors in Chrome but in IE

Message: Object does not support this property or method
Line: 1
Four: 1
Code: 0
URI: http: // mydomain /WebServices/LyrisProxy/Services/Lyris/JSONP/Lyris.asmx/AddUser lyrisInstance = "1" and email = "myemail@gmail.com" and full name = "my name" and lyrisList = "listname" and format = json and Callback = jsonp1274109819864 and _ = 1274109829665

Message: Member not found.
Line: 59
Variables: 20 9
Code: 0
URI: Http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery Min.js

Fix what type of damage I'm about.

Here's my javascript. It is not really causing the error due to JSONP, rather JunkMold ev.preventDefault (); I am now trying to see why it is bomb with an external reference on IE.

  & lt; Script type = "text / javascript" & gt; $ (Document) .ready (function () {$ ("# createUser") Live ("click", function (ev) {var invalidEmailAddressMessage = "This is not a valid email address."; Var userSuccessfullyAddedMessage = "Congratulations You have been added to the iStage mailing list. "; Var userAlreadyExistsMessage =" It seems that you are already on our mailing list! "Var genericErrorMessage =" Something went wrong. I do not know what you have to say. "; / / Verify a valid email address var regEmail = / ^ ([A-Za-z0-9_ \ - \.]) + \ @ ([A-Za-z0-9 _ \ - \.]) + \ . ([A-Za-z] {2,4}) $ /; if (regEmail.test ($ ("# email"). Val ()) == incorrect) {// Aman Show the email address error and repeat two users ev.preventDefault (); ... $ ('# lyrisReturnStatus') jqmShow () One time (3500, "soon", function () {$ (' # lyrisReturnStatus $ ("#output"); $ ("#output"). $ ("# Email"). Select (return); return;} // user service = new WS ("http : //apps.ce.org/WebServices/LyrisProxy/Services/Lyris/JSONP/Lyris.asmx ", WSDataType.jsonp); Val (), fullName: $ ("#fullName"). Val () (valentina), ("#", "LyrisList: $ (" # lyrisList "). Val ()}, function (AddUser) {var lyrisReturn = JSON.parse (AddUser); var goBack; var timeout; // See if JSON is an error message back and handle. If (typeof (lyrisReturn.ErrorMessage) == 'undefined' & amp;! LyrisReturn.ErrorMessage = null) {var status = lyrisReturn.ErrorMessage.indexOf ( "Member already exists"); if (status> gt = =) {// member already exists. $ ("# Output"). Html (userAdWordsAxt Message); goBack = true;} else {// General error. $ ("# Output"). Html (generic error); back = false;} timeout = 3500;} // To see if JSON returns the MemberID if returned (typeof (lyrisReturn.MemberID) == 'undetermined' & amp;; Amp;; LyrisReturn.MemberID = null) {$ ("#product") HTML (userSuccessfullyAddedMessage). GoBack = True; Timeout = 2000;} // Display the modal display with the appropriate message and redirect. Ev.preventDefault (); $ ('# LyrisReturnStatus') jqmShow () One time (timeout, "soon", function () {$ ('# LyrisReturnStatus') jqmHide (); ... If (GoBack) {history.go (-1);}}); }); }); $ ('# LyrisReturnStatus') Jqm ({overlay: 50; Model: true, trigger: wrong}); }); & Lt; / Script & gt; Use  

to find the line with the error.


Comments