• Hi all I want to get the value of html tag element via wordpress e.g

    <li id=”page”>Environment

    Is there any wordpress function to get the value of li tag from its id or from tag as environment.Please tell me the function.Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • You could use document.getElementById("id") but it’s not a WordPress function.

    Thread Starter wp-jayesh

    (@wp-jayesh)

    yes I can get the value by that but I want to get the page id from page name and page name is in

    • tag i tried it but i was not able to get the value,the value should come on hovering the html element.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to get html tag value using wordpress?’ is closed to new replies.