surasyWaymn
New Member
I am working on an iPhone project. Our project requirement is to search the existence of onload method in body tag of a local html file. If it finds the onload attribute i need to add a method for call with existing calls and if it doesn't i need to add onload attribute with method before rendering the page. I would prefer to have some html parsing solution. I don't want to use any string operations because it will become default to check commented code like if it has one more body tag but commented.Thanks