I have created a dynamic stock sheet that loads a table that contains list of products, one of the feilds is a html check box, I have linked the checkbox to a javascript function to using the onclick event and passing the product ID in the function().
When the Product ID is just a number such as 12345, the Javascript works fine, but when the ID is a mixed string such as 12345-HIGH then the Javascript fails. I need to keep the ID intact because it is used later on so I cannot change it or convert it?
I cant seem to find anyway of passing a mixed string to a javascript function. I'm not sure if this helps but the ID will normally have a '-' in it and the text, if any will always be different.