Hi, this is my first time to post here. I have a problem on my jquery script. My goal is, I need to send values of a certain link to another page, so that the other page can use the value. I think using ajax post can do the job but I cant get any result. Here is my code:
$(function() {
var myLink = $('#link');
$('.class').click(function() {
var cell1 = $(this).closest('tr').find('td:eq(4)').text();
var cell2 = $(this).closest('tr').find('td:eq(3)').text();
var cell3 = $(this).closest('tr').find('td:eq(2)').text();
var data = 'cell1=' + cell1 + '&cell2=' + cell2 + 'cell3=' + cell3;
});
});
So I want to know how can I send those value to another page just by clicking the table cell using ajax post. I want to display open it to a new window.
I hope you can help me with this, thank you very much in advance. ;)