Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6221301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:06:30+00:00 2026-05-24T08:06:30+00:00

I wrote javascript in index.html with a login form. When I submit, I call

  • 0

I wrote javascript in index.html with a login form. When I submit, I call a web service remotely to a server running IIS7. I get back a response when I run it with “Live Code” in Dreamweaver but when I run the index.html in a regular browser with the same code I get error type “0”. The same thing happen when I copy those file and host it on the server and changing the web service path to localhost and opening it with a broswer.

I am suspecting that it has to do with access permission of something similar.
Here is the code, if more information is needed please let me know

$("#ButtonLogin").click(function (event) {
    $.ajax({
        type: "POST",
        url: serverPath + "/test.asmx/LogIN",
        data: "{'UserName': '" + $('#TextBoxUsername').val() 
          + "', 'pwd': '" + $('#TextBoxPassword').val() + "'}", 
        contentType: "application/json; charset=utf-8",
        dataType: "json", 
        success: function (msg) { 
            AjaxLogInSucceeded(msg);} ,
        error: AjaxLogInFailed
    });
});
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T08:06:32+00:00Added an answer on May 24, 2026 at 8:06 am

    Debugging ajax issues can seem complicated, but if you remember that you’re just sending off a URL debugging becomes easier. When dealing with these sorts of problems I use the Firefox “Live HTTP Headers” extension to see the URL with the CGI paramters that are being sent to the server. I’d imagine that this could be quite helpful when running code generated by a system like Dreamweaver.

    You can then just plug your ajax URL into your browser (or wget) and see what comes back. Or if I’m writing the backend code also (usually the case) I can print out debugging status messages to help to identify the problem.

    good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say I have a web page ( /index.html ) that contains the following
js undefined error we have the following widget code : index.html <script type=text/javascript language=javascript>
I recently wrote some javascript code that filled a drop down list based on
I wrote the following javascript to put in my startup folder to work around
I wrote a simple javascript image rotator which picks a random image on each
I wrote a simple javascript function to display a progressbar with the help of
I want to customize the project page (trac/templates/index.html). I want to use a table
where is error? <iframe src=jquerytabs/index.html name=bulten scrolling=auto id=ifr2 frameborder=0 style=width:100%; marginheight=0 marginwidth=7 height=288 ></iframe>
I have the following web service that allows me uploading files: [WebService(Namespace = http://tempuri.org/)]
i wrote some code in codeigniter index controller using model ' navigation ': $this->load->model('navigation');

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.