You could investigate ajax so that, when your jquery runs to move a row, it makes an ajax-request to a PHP script that would update a database. This would happen without requiring a page refresh or form submission.
18 Replies - 1431 Views - Last Post: 03 March 2013 - 03:50 PM
#17
Re: moving a table row to another - jquery
Posted 03 March 2013 - 02:28 PM
andrewsw, on 03 March 2013 - 02:22 PM, said:
You could investigate ajax so that, when your jquery runs to move a row, it makes an ajax-request to a PHP script that would update a database. This would happen without requiring a page refresh or form submission.
ok man i need to learn AJAX...
Thnx for all
#18
Re: moving a table row to another - jquery
Posted 03 March 2013 - 03:33 PM
srry for bothering again...
is it possible when i do the moving to hide the Accept/Reject Links and when the row is added to the 2nd table, other links to be shown(ex: edit/delete/print links)??
is it possible when i do the moving to hide the Accept/Reject Links and when the row is added to the 2nd table, other links to be shown(ex: edit/delete/print links)??
#19
Re: moving a table row to another - jquery
Posted 03 March 2013 - 03:50 PM
haris244808, on 03 March 2013 - 03:33 PM, said:
srry for bothering again...
is it possible when i do the moving to hide the Accept/Reject Links and when the row is added to the 2nd table, other links to be shown(ex: edit/delete/print links)??
is it possible when i do the moving to hide the Accept/Reject Links and when the row is added to the 2nd table, other links to be shown(ex: edit/delete/print links)??
Yes, there are many ways to do this. You might have the elements on the page with their CSS as display: none; then use jQuery show() to reveal them. Or you might dynamically create and append these elements.
|
|

New Topic/Question
Reply



MultiQuote


|