John <jo********@hotmail.com> wrote in
news:Xn**********************************@195.114. 230.35:
jo********@hotmail.com
Following on from this I've now got this far :
<script>
function searchcategory(category) {
addfield (form1, 'hidden', 'META_Name', category);
document.form1.submit();
}
</script>
<form name="form1" method="post" action ="">
<a href="bla" OnClick="searchcategory('string')">String</A>
</form>
When clicking on string however, I get an Object Expected error on the
addfield line.
Can anyone see the problem or perhaps suggest an easier way ?
Thanks
John