Get Unique Column Values where Column contains HTML
Get Unique Column Values where Column contains HTML
I'm trying to follow the multi-filter select example (http://datatables.net/release-datatables/examples/api/multi_filter_select.html). The technique works very well for columns that contain only text. However, two of my columns contains hyperlinks; that is, HTML as in the following example: "West High School". The function fnGetColumnData doesn't recognize this as HTML, and it returns a string of the entire tag. I'd like to modify the function to return only the element's value (in this example, the text "West High School").
Can someone please provide some suggestions for making this happen? As I'm fairly new to JavaScript, I'd appreciate the point ini the right direction. Thanks in advance.
Matthew
Can someone please provide some suggestions for making this happen? As I'm fairly new to JavaScript, I'd appreciate the point ini the right direction. Thanks in advance.
Matthew
This discussion has been closed.
Replies
Allan