title: Treat a # in ColdFusion output as just text and not a variable?
body: <p>I have made a JQuery list that I want to fill up with license plate numbers from a database, and to do so, I created a new cfm file and had it output what I wanted in html so I could just convert it later like this:</p>
  
  <p>setPlates.cfm</p>
  
  <pre><code>&lt;cfquery name="q_sample" datasource="cars_live"&gt;
    SELECT LICENSE FROM veh_rec 
  &lt;/cfquery&gt;
  
  &lt;cfoutput query="q_sample" &gt;
          &lt;li&gt;&lt;a href='#Student'&gt;#license#&lt;/a&gt;&lt;/li&gt;
  &lt;/cfoutput&gt;
  </code></pre>
  
  <p>I call the get function to go into the setPlates.cfm file so I can add the license plates from the database as items in my list. Code is below:</p>
  
  <pre><code>&lt;div class="ui-grid-solo"&gt;
              &lt;div class="ui-block-a"&gt;&lt;br&gt;&lt;/div&gt;
              &lt;div class="ui-block-a"&gt;&lt;ul id="plates" data-role="listview" data-inset="true" data-filter="true" data-filter-reveal="true" data-filter-placeholder="Filter Students"&gt;
              &lt;script type="text/javascript"&gt;
              $.get("setPlates.cfm")
                  .done(function(data) {
                    $("#plates").html(data);
                  });
                  &lt;/script&gt;
                  &lt;div id="plates"&gt;&lt;/div&gt;
              &lt;/ul&gt;&lt;/div&gt;
          &lt;/div&gt;&lt;!-- /grid solo --&gt;
  </code></pre>
  
  <p>Thing is, when it goes to that new file and starts reading the output, the #Student confuses it, because it's trying to read it as a variable in the database. #Student is a call to change pages to a new page which will list student information (like whether or not they own a parking permit) based on which license plate was selected. Is there a way to make it treat that pound sign as text, as opposed to the start of something like #license#? Kind of like you would do \" to use quotes inside of a string in java?</p>
  
  <p>Also, if I remove the # from in front of student, all the license plates show up in the list, but they dont take me to the student page I'm trying to reach.</p>