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

  • SEARCH
  • Home
  • 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 3339406
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:29:19+00:00 2026-05-18T00:29:19+00:00

I user jQuery’s ajax to sign up users. I use almost the exact code

  • 0

I user jQuery’s ajax to sign up users. I use almost the exact code below to do similar stuff all over my site and yet for some reason the code below is throwing this error in Firebug.

Error:

uncaught exception: [Exception... "Not enough arguments" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js :: add :: line 5437" data: no]

Call:

lzaUserAPI.doAUserSignup(signupUsername, signupPassword, signupEmail, signupFullname, signupCompanyName, signupWebsite, signupPhone, lzaSigninup.onAUserSignedUp);

Ajax Function:

doAUserSignup : function(username, password, email, fullname, companyname, website, phone, callback){

    // Add to server
    var paras = {cmd : 'doAUserSignup', us: username, ps: password, em: email, flnm: fullname, cpnm: companyname, wbst: website, phne: phone};

    $.ajax({
        url: lzaUserAPI.m_url,
        dataType: "json",
        data: paras,
        success: function(ret){callback(ret)}
    });
},

Callback:

onAUserSignedUp : function (ret) {

    alert ('yea!!!');
    //Todo: log them in
}

Any ideas? Thanks in advance!

  • 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-18T00:29:19+00:00Added an answer on May 18, 2026 at 12:29 am

    The problem is somewhere in the code that converts the data object. Since we can’t see all the code where exactly is not clear. Here is what you do, change the code like this:

    // var paras = {cmd : 'doAUserSignup', us: username, ps: password, em: email, flnm: fullname, cpnm: companyname, wbst: website, phne: phone};
    var paras = {cmd : 'doAUserSignup'};
    

    See if that works, if it does start adding elements in till you find the problem.

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

Sidebar

Related Questions

I use jQuery Validation plugin to ensure what user entered positive cost_of_car in first
I want to use jquery draggable/droppable to let the user select a group of
I have written a simple jQuery.ajax function which loads a user control from the
I'll use the jQuery plugin for presenting the user with a nice interface The
I user jquery.ajax call to controller of asp.net mvc... I would like to show
I have an app that allows a user to use JQuery and Javascript to
I want to user jquery ajax calls, for example; function addnewteacher(){ $.ajax({ type: POST,
I'm have this code below. As you can see I'm trying to use the
I have the code below that grabs some html from an AJAX request and
I have some jQuery Code, which I am planning to use in many pages

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.