I'm looking to use a javascript to filter a large list of categories.
Users can search and choose the categories of choice on the add.html page.
Then send it to Links SQL for addition to the database.
The problem is that this script calls the FORM and SELECT list like:
var filter = new filterlist(document.usersform.usersselect);
Form name is no problem, but I need it to call the select list punctuated with a full stop "CatLinks.CategoryID" so it sends it correctly to the database like the following:
var filter = new filterlist(document.usersform.CatLinks.CategoryID);
( If I put a full stop in the SELECT list it comes up with an error.)
Any help appreciated.
Thanks
Regards
minesite
Users can search and choose the categories of choice on the add.html page.
Then send it to Links SQL for addition to the database.
The problem is that this script calls the FORM and SELECT list like:
var filter = new filterlist(document.usersform.usersselect);
Form name is no problem, but I need it to call the select list punctuated with a full stop "CatLinks.CategoryID" so it sends it correctly to the database like the following:
var filter = new filterlist(document.usersform.CatLinks.CategoryID);
( If I put a full stop in the SELECT list it comes up with an error.)
Any help appreciated.
Thanks
Regards
minesite