D
deko
I'm trying to retrieve the Page ID of a blog entry with JavaScript so I can
insert a form while editing the post. So I will need to concatenate the Page ID
with some HTML and insert it into the post window.
The page is loaded in my browser, and I can see the ID in the URL in the
browser's address window (e.g. http ... post.php?post=23), but I don't know
where to get the ID form. Is it available somewhere in the DOM? How do I
retrieve it? Should I just grab the variable out of the URL?
Thanks in advance.
insert a form while editing the post. So I will need to concatenate the Page ID
with some HTML and insert it into the post window.
The page is loaded in my browser, and I can see the ID in the URL in the
browser's address window (e.g. http ... post.php?post=23), but I don't know
where to get the ID form. Is it available somewhere in the DOM? How do I
retrieve it? Should I just grab the variable out of the URL?
Thanks in advance.