How can I customize the HTML text of a Heading

  • Profile Image
    AmSteve
    Asked on September 10, 2013 at 02:43 PM
    In the spirit of pre-populating form fields by constructing a querystring to append to a form's URL, I'd like to be able to customize the text displayed in Form's Header:
    <h2 id="header_13" class="form-header"> Click to edit this text... </h2>

    I presume this can be handled by a bit of jQuery but how can I know that the field is availible and visible to jQuery? (I'm using a popup window opener and yes, I can ensure that the ID will be unique on the page.

    thx much
  • Profile Image
    AmSteve
    Answered on September 10, 2013 at 04:15 PM

    Thanks for the reply. No; I want to change the words. something like:

    $("#header_13").text('My New Text');

    But how to know the popup is 'popped' and that jquery can find the ID?

  • Profile Image
    Cesar
    Answered on September 10, 2013 at 06:28 PM

    I'm doing abit of research to your questiom. Maybe this thread has more information that may be useful to what you are trying to achieve.

    Let us know if you need additional assistance. Thank you.

    How to update fields via a popup box