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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T04:38:29+00:00 2026-06-17T04:38:29+00:00

I have a list of work orders that I am dropping into a Full

  • 0

I have a list of work orders that I am dropping into a Full Calendar. I need to have access to the work order’s primary key so that I can update it’s record in my MySQL database. So, I have simply added the work order’s primary key to the title of the calendar event. Then, as I drop an event onto the calendar, the drop event parses the HTML and grabs the work order’s primary key, storing it in the event itself for later use.

The problem is that this is ugly! I don’t want the primary key on the event both because it’s ugly and because it takes up too much space.

How do I include the primary key of my record in my list of items to be be added to the calendar, but not actually display these primary keys? I have tried adding a <div style="visibility:hidden"> to the list items, but that only hides the HTML when the item is in the list. As soon as I drop it onto the calendar, the <div> becomes visible again.

Any ideas?

  • 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-17T04:38:30+00:00Added an answer on June 17, 2026 at 4:38 am

    There have been various answers to this. Myself, I just use event.id = primary key (assuming it is an int or reasonable string, see EvObj); then when responding to callbacks like eventClick(ev,...), for instance, you can retrieve it as ev.id and update your DB accordingly. That way you don’t need to mess your events’ titles or add strange hidden elements.

    —– Addendum:

    If using event.id causes conflicts with repeating events, the EvObj can also have custom properties, like event.dbid.

    As for the other problem, to hide the dbid somewhere in the list of <div> that were to be dropped in the calendar, using jQuery data is a clean way to do it.

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

Sidebar

Related Questions

Suppose that I have a list of business primary key numbers and a java
I have a database of orders that looks roughly like this ORDER ID |
I have a list of order numbers. From my service order view, I can
I have a List of numbers that I want to order. List<int> numbers =
I have a page which displays a list of orders that have been placed
I have a list of items that I want to order in alphabetical order,
So I have a big list of integers I have to work with (in
i have list of rows that user select and i want to delete them,
I have list of words. I type in a word misspelled. Can I query
I have 3 relevant tables. User, Orders, and Viewables The idea is that each

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.