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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:45:51+00:00 2026-05-27T02:45:51+00:00

// `shipment` is unique number var `shipment` = this.Shipment; $(‘<div id=’ + this.Shipment +

  • 0
 // `shipment` is unique  number 

        var `shipment` = this.Shipment;
             $('<div id=' + this.Shipment + '>' + this.Shipment +'</div>').click(function () {


                 _Services.invoke({
                     method: 'GetOrdersGrid',
                     data: { ShipmentNumber: shipment },
                     success: function (shipment) {
                         paintOrders(`shipment`);

the function gets a number of div and needs to put the TEXT into the div

<div id="11626">TEXT</div>
<br>
<div id="12109">TEXT</div>

ERROR: (“#” + items).append is not a function [Break On This Error]
(‘#’ + items).append($(container));

WHEN i use the sollar sign $('#' + items).append($(container));

ERROR
uncaught exception: Syntax error, unrecognized expression: #[object Object]

WHEN i use without the #
 $(items).append(container); or  $(items).append($(container));

(this[0].ownerDocument || this[0]).createDocumentFragment is not a function
[Break On This Error] var fragment = (this[0].ownerDocument || this[0]).createDocumentFragment(), 
  • 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-27T02:45:52+00:00Added an answer on May 27, 2026 at 2:45 am

    You’re missing a $

    Change

    ('#' + items).append($(container));
    

    to

    $('#' + items).append($(container));
    

    Presuming, of course, that you have an element with id set to whatever items resolves to.

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

Sidebar

Related Questions

function paintOrders(DivId) { var container = '<div>'; $.each(DivId, function () { container += 'TXT'
I'm attempting to transform this data: ItemID MonthAsInt Month Year InvType Quantity 4643 4
Working on a pet project concerning efficiency and data and this is the mission
jquery 1.6.2 / Firefox 6.0.1 OK I'm working on this shipment manager interface and
Let’s say I have this array with shipments ids. s = Shipment.find(:all, :select =>
I have a class ShipmentsCollection that inherits ObservableCollection which contains shipment objects (entities). This
I have this piece of code I programmed months ago: @shipments = Shipment.joins(:invoice).where(:customer_id =>
I have three tables shipment (shipment_id, shipping_date) company_order (company_order_id, shipment_id, company_id) company_order_item (company_order_item_id, company_order_id,
I have a listbox that displays Shipment Items (custom class) that are formatted using
I have a WPF view that displays a Shipment entity. I have a textblock

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.