> Is there a way to use php to get the name and pass it to the JS?

Of  course  --  as  André  said -- write it into a JS var or add a DOM
element or attribute and then look that up from JS.

A somewhat semantically sound element might be

<link rel="start" ... >

-- S.

Reply via email to