Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 6th, 2006, 11:20 AM
Registered User
 
Join Date: Nov 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Representing Huge Amount of Data In a Html file

hi all,

       For some reasons i have to represent a huge amount of data (String value)inside a html page. i tried setting the data as the value attribute of a hidden field but the problem is the data might some time contains '"' . also as my page action method is post each time i submit my form this value 'll also be transmitted to the server.

   I also tried div
   ie
<div style="visibility:hidden;border:0;height:0px;width :0px;">
{my data will be here}
</div>

but even though i had given height and width as -1 itz still occupying some space and causing some alignment problem which i do not want to happen
 Can anybody suggest the best way of representing huge amount of data in a html page


zeta

 
Old November 6th, 2006, 11:26 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default

First of all Welcome to P2P...
somehow can u write it in a txt file and read whenever require...using javascript...??

Rupen Anjaria.:)
------------------
We CAN'T avoid problems, but can solve it.
 
Old November 6th, 2006, 11:39 AM
Registered User
 
Join Date: Nov 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

no ie not possible becoz the data is dayanamically populated

 
Old November 6th, 2006, 11:43 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default

Can u use ASP or JSP....how it is dynamicly generated??

Rupen Anjaria.:)
------------------
We CAN'T avoid problems, but can solve it.
 
Old November 6th, 2006, 11:46 AM
Registered User
 
Join Date: Nov 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i am using jsp. and for each jsp page depending on the user who logs in and some other parametes the data will change

 
Old November 6th, 2006, 11:51 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You can set the display to none instead of the visibility to hidden:

<div style="display: none;">


Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old November 6th, 2006, 11:51 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default

so using JSP u can store text in a file and can refer whenever required...

Rupen Anjaria.:)
------------------
We CAN'T avoid problems, but can solve it.
 
Old November 6th, 2006, 11:23 PM
Registered User
 
Join Date: Nov 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks imar rupen

 with display: none its working






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to work through huge amounts of data effective Planet_Jeroen Excel VBA 2 January 16th, 2007 08:12 AM
representing duplicated data in a list box jaredcat Access 1 July 18th, 2006 12:20 PM
problem openning huge xls file helmekki Excel VBA 3 October 5th, 2004 04:43 AM
Download huge file using ASP iniro Classic ASP Basics 4 September 27th, 2004 11:56 PM
Help with reading huge XML file hitesh_kapadia ASP.NET 1.x and 2.0 Application Design 0 August 6th, 2004 02:54 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.