I'm working on a iPhone project in which I want to change color theme for a given html template.
I want to get an array with color parameter values of style attribute for all tags.
Is there any efficient way to achieve it?
Note: elements in my template does not have id attribute. Also cannot use jquery as is not supported by iOS webview.
<link rel="stylesheet" href="jquery.mobile-1.1.0.min.css" /><script src="jquery-1.7.2.min.js"></script><script src="jquery.mobile-1.1.0.min.js"></script>instead of<link rel="stylesheet" href="css/jquery.mobile-1.1.0.min.css" /><script src="js/jquery-1.7.2.min.js"></script><script src="js/jquery.mobile-1.1.0.min.js"></script>