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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:52:03+00:00 2026-06-04T10:52:03+00:00

I am working on a project where a user is going to select a

  • 0

I am working on a project where a user is going to select a document and it will be placed into a dynamic and sortable list. The list items will have a value of the specific document’s id. Once the lists are arranged the user is to click Create List and I would like to use Ajax and classic ASP (required for a couple queires that need to occur during this process to grab the new string format) to grab the just the values of the list items and put them into an array.

Here is my list currently:

<ul class="main_doc_list">
  <li><b>Editor's Blog</b>
  <ul class="doc_list">
      <li value="111111">Doc Title</li>
   </ul>
   </li>
   <li><b>Blog Roll</b>
    <ul class="doc_list">
      <li value="222222">Doc Title</li>
      <li value="333333">Doc Title 2</li>
      <li value="444444">Doc Title 2</li>
    </ul>
    </li>
   </ul>

And I currently have this in JQuery to trigger the Ajax event.

$("#create").click(function() {
    $.ajax(
            {
            type: "GET",
            url: "newslettercreate_action.asp",
            success: function(result) {
                var newsletter_string = $(result);
                $("#scratch").val(newsletter_string);
            }
        });

    }) 

Just not sure that once in my ASP action file how to obtain the values I need to begin the function of building the newsleter_string. Any help would be greatly appreciated.

  • 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-04T10:52:04+00:00Added an answer on June 4, 2026 at 10:52 am

    As Porco have pointed, you can grab this with jQuery itself before posting, you just have to loop trough each element and concatenate the values to post it like Porco said:

    $("#create").click(function() {
        // get some data 
        var strDocIDs = "";
        $('.main_doc_list').find('li[value]').each(function() {
            strDocIDs += ", " + $(this).attr('value');
        });
    
        if (strDocIDs != "") alert(strDocIDs.substring(2)); // substring here rips off the first comma
    })
    

    To post the data, do what Porco have showed you and you can grab the results on ASP as a Request variable:

    strDocIDs = Request("strDocIDs")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on semantic web project where user will input text query like
I'm working on a project that aims to charge user by request. He will
I’m working on a project and have developed the high level user requirements for
I have been working on an iPhone project, where we created all the user
I have project that I'm working on that is going to require a webserver.
I have a windows forms user control in my project. It has been working
I'm working on a project which uses user authentication. I'm facing a issue with
I am working on a project and I need to save user configuration. The
I am working on a project and I want to save the user log
I'm currently working on a project where we'd like to allow a user to

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.