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 8416501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:46:35+00:00 2026-06-10T01:46:35+00:00

The documentation doesn’t have any example for how to use .submit( [eventData], handler(eventObject) )

  • 0

The documentation doesn’t have any example for how to use .submit( [eventData], handler(eventObject) )

I have the following function, where I need to pass in the url to the row_save() function.

function row_edit() {
    var url = $(this).attr("href");
    var row = $(this).closest('tr')
    row.load(
        url + "/",
        null,
        function () {
            $("#save-form").submit(url, row_save); // ?? Not sure
        }
    );
    return false;
}


function row_save() {
  var url = ????
  var item = $(this).parent();
  var data = {
    item_description: item.find("#id_item_description").val()    
  };
  $.post(url, data, function (result) {
    if (result != "failure") {
      item.before($("li", result).get(0));
      item.remove();
      $(".row_edit").click(row_edit);
    }
    else {
      alert("Failed to validate before saving.");
    }
  });
  return false;
}

Thanks

  • 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-06-10T01:46:37+00:00Added an answer on June 10, 2026 at 1:46 am

    eventData A map of data that will be passed to the event handler

    function () {
        $("#save-form").submit({ "url": url }, row_save);
    }
    
    function row_save(ev) {
        var url = ev.data.url;
        // ...
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a source of python program which doesn't have any documentation or comments.
I just downloaded the HTMLAgilityPack and the documentation doesn't have any examples. I'm looking
After reading jQuery's CSS documentation , it doesn't look like it offers any advantages
The documentation doesn't guarantee that. Is there any other place that it is documented?
Apparently (because the documentation doesn't say any word of this), in a .NET Transaction
Is this how will_paginate is used? The example in their documentation doesn't demonstrate result
The NUnit documentation doesn't tell me when to use a method with a TestFixtureSetup
Boost.asio documentation doesn't support any ftp examples. `boost::asio::io_service io_service; tcp::resolver resolver(io_service); tcp::resolver::query query(www.boost.org, http);
I have some code which statically accesses [NSBundle mainBundle] , but the documentation doesn't
MSDN documentation doesn't seem to have good coverage on ASP.net 4.5 support of HTML5

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.