Using Non existing Attributes HTML in JQM?
Hi,
I am using html attributes that don't exist to set some data and read data, something like this.
<a href=
"#" class=
"myProjects" GoTo=
"myProjects" proj_nr="0000000000" data-role=
"button" data-theme=
"b">Projects</a>
<a href=
"#" class=
"myProjects" GoTo=
"DeletemyProjects" proj_nr="0000000011" data-role=
"button" data-theme=
"b">Delete Project</a>
$(function($) {
$(document).delegate(".myProjects", "click", function(){
var GoTo = $(this).attr("GoTo");
var proj_nr = $(this).attr("proj_nr");
It works, but can this harm, regarding possible validation of JQM?
Thanks!