html css 表格 class 网页
小弟是马来西亚人,没有编程基础,google 和 yahoo search很久了都找不到答案,是这样的,我每天都需要加班帮老板做一些额外的工作,每天需要从一个网页复制表格里面的内容然后黏贴进excel。该网站是需要老板用自己的密码登入之后才会打开里面的资料的,因此我没有办法提供该网址,但我把该网页的html复制及黏贴进这个网站 jsfiddle.net ,然后生成以下这3个网址:
“网址1” http://jsfiddle.net/engchiang/ghP2a/5/
“网址2” http://jsfiddle.net/engchiang/ghP2a/6/
“网址3” http://jsfiddle.net/engchiang/ghP2a/7/
左上角是html,右下角显示的结果就是我每天必须复制的表格。
“网址1”所显示的是刚刚打开该网页时,每个网页有一个表格,每个表格有10行,每一行的第一格是链接,每一行的内容都隐藏起来。
“网址2”是当我点击第一行的链接时,所显示的隐藏内容。表格第一行的html会变成 tr class="shown" , 其它9行是 tr class="hidden"
“网址3”是当我点击第二行的链接时,所显示的隐藏内容,但第一行的内容会自动隐藏起来。表格第二行的html会变成 tr class="shown" , 但表格第一行会变成 tr class="hidden" disabled="true"
当我点击第三行的链接时,会显示第三行的隐藏内容,但第二行的内容又会自动隐藏起来...
因此我必须一个一个链接点击打开隐藏内容,再复制及黏贴进excel,问题是每天我都需要复制超过100个表格里面的隐藏内容,每天需要加班1,2个小时,更严重的是没有得到任何加班费。
想请教一下这里的高人,用什么代码可以不需要点击就能够显示,小弟将感激不尽!!
回复讨论(解决方案)
这个是小问题,关键是你能改那个网站么?
火狐浏览器。F5一下。如果有隐藏属性吧隐藏属性去掉。如果没有这个就不知道啦!
这个是小问题,关键是你能改那个网站么?
我通过修改html的 font-size 或 color ,网页都能够转变。应该也能够修改 隐藏/显示。
火狐浏览器。F5一下。如果有隐藏属性吧隐藏属性去掉。如果没有这个就不知道啦!
我没有任何编程基础,都是网上搜索一点一点学的,要如何才能够去掉隐藏属性?
displayed Visibled 就是这些
这个是小问题,关键是你能改那个网站么?
我通过修改html的 font-size 或 color ,网页都能够转变。应该也能够修改 隐藏/显示。 这个得看他的数据是不是一次性加载。
我没有任何编程基础,如何才能够知道数据是不是一次性加载?

HTMLtagsdefinethestructureofawebpage,whileattributesaddfunctionalityanddetails.1)Tagslike,,andoutlinethecontent'splacement.2)Attributessuchassrc,class,andstyleenhancetagsbyspecifyingimagesources,styling,andmore,improvingfunctionalityandappearance.

The future of HTML will develop in a more semantic, functional and modular direction. 1) Semanticization will make the tag describe the content more clearly, improving SEO and barrier-free access. 2) Functionalization will introduce new elements and attributes to meet user needs. 3) Modularity will support component development and improve code reusability.

HTMLattributesarecrucialinwebdevelopmentforcontrollingbehavior,appearance,andfunctionality.Theyenhanceinteractivity,accessibility,andSEO.Forexample,thesrcattributeintagsimpactsSEO,whileonclickintagsaddsinteractivity.Touseattributeseffectively:1)Usese

The alt attribute is an important part of the tag in HTML and is used to provide alternative text for images. 1. When the image cannot be loaded, the text in the alt attribute will be displayed to improve the user experience. 2. Screen readers use the alt attribute to help visually impaired users understand the content of the picture. 3. Search engines index text in the alt attribute to improve the SEO ranking of web pages.

The roles of HTML, CSS and JavaScript in web development are: 1. HTML is used to build web page structure; 2. CSS is used to beautify the appearance of web pages; 3. JavaScript is used to achieve dynamic interaction. Through tags, styles and scripts, these three together build the core functions of modern web pages.

Setting the lang attributes of a tag is a key step in optimizing web accessibility and SEO. 1) Set the lang attribute in the tag, such as. 2) In multilingual content, set lang attributes for different language parts, such as. 3) Use language codes that comply with ISO639-1 standards, such as "en", "fr", "zh", etc. Correctly setting the lang attribute can improve the accessibility of web pages and search engine rankings.

HTMLattributesareessentialforenhancingwebelements'functionalityandappearance.Theyaddinformationtodefinebehavior,appearance,andinteraction,makingwebsitesinteractive,responsive,andvisuallyappealing.Attributeslikesrc,href,class,type,anddisabledtransform

TocreatealistinHTML,useforunorderedlistsandfororderedlists:1)Forunorderedlists,wrapitemsinanduseforeachitem,renderingasabulletedlist.2)Fororderedlists,useandfornumberedlists,customizablewiththetypeattributefordifferentnumberingstyles.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Atom editor mac version download
The most popular open source editor

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment
