Response title
This is preview!
I am using drag and drop
First I would like to associate some text content against each element in the list. To be specific the text would be a structured query. I would like to be able to drag and drop elements from the list into a query box, which would dump the text (query) which is bound to the li element.
If for example we take "Belt Conveyor" from the above and drop it into the query box, some text which has been bound to the element would be pasted in to the query box instead of the text "Belt Conveyor".
Is this possible with drag and drop? If so can someone please guide me in the right direction please?
Thank you very much in advance.
Best
Lewis
Yes, markup belowSo you have a list of products, and a search box. Is a search box just a regular text input?
<textarea name="query" id="queryBox" cols="85" rows="20"
placeholder="Drag and Drop items from the 'Process and Equipment List' list here... or type your SPARQL query!">
</textarea>
Yes, exactly. Say for example I wanted to have the following text 'attached/bound' to the Belt Conveyor list itemIs the idea to drag the text "Belt Conveyor" into the text input, and when dropped, different text displays in the text input?
SELECT ?title
WHERE{
<http://example.org/book/book1> <http://purl.org/dc/elements/1.1/title> ?title .
}
© 2013 jQuery Foundation
Sponsored by and others.