Printing of jqmData into HTML

Printing of jqmData into HTML

Hello,

I saw here  http://api.jquerymobile.com/jQuery.mobile.loadPage/ that it is possible in jQueryMobile to directly print data into the HTML-Code without using the <script>-tag.  

Here is my code:
  1.  // HTML stuff and including of jQuery mobile & co.
  2. <title>$.jqmData("projectName")</title>
  3. </head><body>
  4. //...
  5. <h1>$.jqmData("projectName")</h1>
  6. // rest of code
For the title it works and inserts my project name which defined earlier. In the body part (<h1>-tags) it does not work and shows me the unparsed string ' $.jqmData("projectName")'.

What am I doing wrong?

Greets!