I have a submit button, however in order to make the look of the buttons in the site the same, I want to use a class that is being applied for links. I tried changing the button to a link, but then it does not function properly, because I have a test to see if the button is defined, then it runs an update query after being submitted to the page itself.
<cfset id = #url.id# >
<cfif isdefined("FORM.button") >
<CFQUERY DATASOURCE="Obi-default" NAME="UpdateList" >
WHERE TrackingNumber = '#url.id#'
<cflocation url="notessaved.cfm" addtoken="no">
<input type="submit" name="button" id="button" class="button" value="Submit" />
//this one works, but does not have the class applying