开发者

Javascript/Jquery parse excel into text

I am fairly new to javascript but I would like to possibly create a javascript of jquery that would go through all the records in the excel sheet row by row, and for each record parse in TEXT file the cell information in one and the same

html-style structure, like the one one below.

| Cell1| IMG path | IMGthumbpath | Cell4| Cell5| Cell6 | Cell7 |

xxx       xxx          xxx         xxx     xxx  xxx    xxx. 
...       ...          ...         ...     ...  ...    ...

Structure of Text file for each record in xls:

<!-- Start of mark up  image. -->

<a href="../<content of IMG path cell>.jpg" class="Gallery" onClick="return xxx">

<[img] src="../<content of IMGthumbpath cell>.jpg" alt="<content of Cell1>" t开发者_运维知识库itle="<content of Cell1>"/>

<span><content of Cell1> </span>

</a>

<div class="Gallery">
<h3><Content of Cell1></h3> <br />
<b>Desc1: <content of Cell4> <br /> 
<b>Desc2:&nbsp;</b> <content of Cell5> <br /> 
<b>Desc3:&nbsp;</b> <Content of Cell6> <br />
<b>Desc4:&nbsp;</b> <Content of Cell7> <br />
</div>

<!--End of mark up  image. -->

How do I accomplish that?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜