Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- eData[0]=["Del","Trotter","Sales"];
- eData[1]=["Rodney","Trotter","IT"];
- `SELECT * FROM ad_colleague_info WHERE ad_colleague_info.First LIKE '"+$('#searchbox').val()+"%'";`
- var search = new RegExp( "\b"+$('#searchbox').val()+"+", "gi");
- FeData = jQuery.grep(eData, function (value) {
- if(typeof(value[0]) != "undefined" && value[0] !== null && value[0].match(search)) return value;
- return null;
- });
Add Comment
Please, Sign In to add comment