I need to use javascript to get the itemid of the current page in Joomla. Is there a way to do this? The urls are sef so I cant just use the url…
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No mention of version, but I’ve used this in the past with the PHP. There’s no direct javascript way, so you’ll need to echo that into your script, or put it into a hidden form field, or some other mechanism.