writing javascript div in html
i have put in my source code to show live twitter search result on my webpage.
Although it shows the search result but when i open the source code of my webpage it don't shows the tweets text in my source code.iT DYNAMICALLY LOADS IT I GUESS.
iS there a way out to fetch the content of div and write 开发者_运维问答it with some functions like document.write or etc.
If I understand you correctly, you can use a Firefox extension like Web Developer Toolbar to view the source code after it has been modified by JavaScript. Install the toolbar, and from the new "View Source" menu select "View Generated Source".
Alternatively, Firebug will also let you browse through the modified DOM.
Most browsers have tools that'll let you see the rendered source.
There's the Firebug plugin for Firefox. In Chrome and IE8 it's built in (hit Ctrl+Shift+I or F12 respectively)
精彩评论