I&#39;m currently embedding an iframe with a form which allows users to comment on the system from the portal page.<br /><br />As it stands now the users have to manually enter the node that they are at in the forum, I would ideally like to have this field be populated automatically based upon the node which they are currently on.<br /><br />The node name is present in on the page and I can get the information via the DOM however this seems like a very bad way to do things.  Beyond the argument of people without JS, the node name is wrapped in between a div that has no id and only a class (although that class seems to be unique).  Then inside a span, then inside an em.  Using JS it would be ideal if the node name tag had it&#39;s own unique id.<br /><br />Even better would be a list of predefined JS variables for certain data an administrator may want to input into a form.  Specifically current data usage, time since login, mac address, username, and node name.<br /><br />&lt;div class=&#39;welcome_msg_inner&#39;&gt;&lt;span&gt;Welcome to&lt;/span&gt; &lt;em&gt;node_name_here&lt;/em&gt;&lt;/div&gt;<br /><br /><br /><br />Regards,<br />Andrew Hodel