Dear Friends, Html Tags like table or td can be dynamically created by javascript using javascript's document.write function. But if the Code of the script is called from outside or from the same using <script> codes... </script> and there are 1000s of conditional document.write statement which generates html tag based on different conditions How can I get what are the lines dynamically created by javascript? I mean for debuggin purpose i want to get the output of the javascript file actually which can't be found in right click-> view source. if i get the output source file including all the code (including the tags generated by javascript) that will be fine. Thanks. Coolsaint.
You can use Firefox and teh web developers toolbar extension, or the Firebug extension to view elements that are written out via Javascript. If you are using the web developers toolbar, press CONTROL+SHIFT+F and a little inspector will appear that will show you the elements that your mouse is over, plus the parents of that element and the children of that element.
Dear Friend, Thanks for your reply. I will try that. Are you sure it works? I am using internet explorer 6 . Is there any solution for internet explorer? if you know please let me know . That will be great. Thanks again. Coolsaint.
Thanks Fetch, I got the dynamically created Tags. I used Web developer extension for firefox. And there is a option called generated view source which includes the extra tags created by javascript dynamically. That helped me lots. Coolsaint.