douxie7738 2011-09-30 01:44 采纳率: 0%
浏览 181
已采纳

在网站的源代码上找不到html表

I'm a member in a website and there's a huge (automatically generated) html table on this PHP page that is only available to me and I wanted the table source code because I want to copy it to a html page on my computer to then process it with a program.

Now the problem is, when I right-click to display the page source code it works but I'm tired of looking to the source code and even inside all the linked .js files and I can't seem to find the table or any data of it whatsoever on the scripts/page source codes.

I can select the table data and copy it (just the data) just fine and when I right click on it it doesn't say anything about flash or whatever so I'm assuming it's not flash. The data of the scripts/pages isn't obfuscated with strange characters or anything, it's easily human-readable.

What can I be doing wrong or what can cause this kind of behavior?


UPDATE.

Using Google Chrome's 'inspect element' thing worked, I tried it first because I had it installed so it was faster. I will also use some methods that were talked here in order to see the most convenient to me, also I was thinking on doing a PHP script that would import data from a similar table but I will have to know more about a lot of stuff that was talked here.

  • 写回答

5条回答 默认 最新

  • duangonglian6028 2011-09-30 01:48
    关注

    Two possible reasons could be that the table may be returned from an AJAX call to another page that returns the HTML for the table, or they could be generating the table's html code and contents on the fly from a list of values coming from javascript or some other source rather than serving the HTML output to you from the server side.

    Something you can do to figure it out is see if there are any empty div or other html elements where the table appears to be inserted, and search their javascript files for references to those elements. That may shed some light on how they populate it.

    Feel free to update your question with the raw html (where you don't see the table) and maybe some javascript and we can look. Use pastebin if it is a lot of content.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(4条)

报告相同问题?

悬赏问题

  • ¥50 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥200 uniapp长期运行卡死问题解决
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?
  • ¥15 为什么使用javacv转封装rtsp为rtmp时出现如下问题:[h264 @ 000000004faf7500]no frame?