Help with Jquery updating labels after a title match
Hi guys.
I have some code below which works brilliant for title matching products from manual input:
- $(document).ready(function()
- {
- $(".course").autocomplete("get_title_list.php",
- {
- width: 260,
- matchContains: true,
- mustMatch: true,
- selectFirst: false
- });
- $(".course").result(function(event, data, formatted)
- {
- $(this).next(".course_val").val(data[1]);
- });
- });
And the update part :
- <input type="text" name="course" value= "Find Title In DB" class = "course"/><input type = "text" class ="course_val" />
This all works fine but when i go to copy it into a spreadsheet it doesnt copy over the values.
Is it possible to get the title match to update a table "<td></td>" and then hide the input box called : course so that I would be able to paste the information over no problem