i need to get the product id from an url into a var
https://instrumentall.md/ro/6167922/
can someone help me please?
i need to get the product id from an url into a var
https://instrumentall.md/ro/6167922/
can someone help me please?
In JavaScript use window.location.href
to get the value of the url. Than process it as a normal string.