hello friends,
i have a script that creates this output
The only problem is the div with the attribute xml:id = 'head'.
It seems that the jquery ID Accesser $('#') does not want to grab the element (because its not id = 'head')
Would there be a way for my PHP script to find all xml:id and replace them with id?
If so i would very much appreciate it!
i have a script that creates this output
<html>
<head>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.min.js">
</script><script type="text/javascript">
$(document).ready(function(){
$("#head").html("it worked");
});
</script>
</head>
<body><div xml:id="head" class="head">hello world</div></body>
</html>
The only problem is the div with the attribute xml:id = 'head'.
It seems that the jquery ID Accesser $('#') does not want to grab the element (because its not id = 'head')
Would there be a way for my PHP script to find all xml:id and replace them with id?
If so i would very much appreciate it!