[jQuery] Re: How to retrieve the selected cells

2010-01-05 Thread MT
Thanks Kanpan, with your code I know where to make the ajax call. Combining with MorningZ's solution and your suggestion I am very certain that I will be able to get my task done! Thank you guys for your help! On Jan 4, 11:55 pm, Kanpan wrote: > What you know is that you're assigning classes to

[jQuery] Re: How to retrieve the selected cells

2010-01-05 Thread MT
Thanks MorningZ for that wonderful demo. I think you have nailed my question here! Thank you so much! On Jan 5, 12:14 am, MorningZ wrote: > > 1) How do I know if a cell is selected? Is there is is_selected( ) > > function in jQuery? > > There's the ":selected" selector, but it's for valid form fi

[jQuery] Re: How to retrieve the selected cells

2010-01-05 Thread Kanpan
What you know is that you're assigning classes to the selected cells. Your best bet is to detect an onclick event on your button and then loop through the td elements with the class "sel" and get each of their value. Then take those values and submit them via ajax to your php script. Something lik

[jQuery] Re: How to retrieve the selected cells

2010-01-04 Thread MorningZ
> 1) How do I know if a cell is selected? Is there is is_selected( ) function in jQuery? There's the ":selected" selector, but it's for valid form fields, not table cells... in your case, $("table td.sel") would give you all selected table cells I have no idea what your PHP looks like, but one w