So, I have a form that has ticket details.
As part of the form, I have a collection of notes which have been added regarding this ticket.
Everything on the form is keyed off a field named 'tid' (Ticket ID).
I provide the ticket id as part of the URL, so when the ticket ID updates, everything on the form gets loaded from a sql server database.
I have an add note button which opens a popup to a different form. When that form submits, it sends a message via the windows.onmessage event telling me that the form has been submitted. I then have code which closes the dialog.
Normally, in other situations, I refresh the form completely by calling something like $('.tid input').change().
But what I want here is not to refresh the entire page, I only want to refresh the notes, so that the new note shows up in the list.
Is there a way to trigger a refresh on just this collection instead of the entire page?