473,322 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

How to pass Data from One Html Page to Other using Javascript and/or Html Only

Hi...
I am creating a dummy project for collage.
Here I had choosen my project as Jewelleryshoping.
Now the scenerio is like that thier are jewellry item which I had display in table format with images using form tag for button.

Now the case is like I dont want to use any database like sql,serversite,php etc. I just want to use html or javascript or extremely XML.

Now I want that When any person select Add to cart to particular jewellery item then the Item cado and price is stored in another html page named "addtocart.html" if possible row and coloum wise.
I am just creating a static dummy site for my project.
here the code I used in main.html for jewellery items.

[HTML]<html>
<head>
<title>Arpit</title>
</head>
<body>
<table width=680 border=1 align="LEFT" cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD width=337 height="120" vAlign=top><br>
<form>
<img src="..\images\r1.gif" align=left>
<span class="tickertext1">
Item Code:R101<br>
Item Price:RS.9865</span><br> <input type="submit" Value="Detail"size=30%>
<input type="submit" Value="Add to List" size=30%>
</form>
</TD>

<TD vAlign=top width=337>
<form>
<img src="..\images\r2.gif"align=left><br>
<span class="tickertext1">
Item Code: R102<br>
Item Price:Rs.7584</span><br> <input type="submit" Value="Detail"size=30%>
<input type="submit" Value="Add to List" size=30%>
</form>
</TD>
</tr>


<TR>
<TD width=337 height="120" vAlign=top><br>
<form>
<img src="..\images\r3.gif" align=left>
<span class="tickertext1">
Item Code:R103<br>
Item Price:Rs.3466</span><br> <input type="submit" Value="Detail"size=30%>
<input type="submit" Value="Add to List" size=30%>
</form>
</TD>

<TD vAlign=top width=337>
<form>
<img src="..\images\r4.gif"align=left><br>
<span class="tickertext1">
Item Code: R104<br>
Item Price:Rs.7656</span><br> <input type="submit" Value="Detail"size=30%>
<input type="submit" Value="Add to List" size=30%>
</form>
</TD>
</tr>





<TR>
<TD width=337 height="120" vAlign=top><br>
<form>
<img src="..\images\r5.gif" align=left>
<span class="tickertext1">
Item Code:R105<br>
Item Price:Rs,8765</span><br> <input type="submit" Value="Detail"size=30%>
<input type="submit" Value="Add to List" size=30%>
</form>
</TD>

<TD vAlign=top width=337>
<form>
<img src="..\images\r9.gif"align=left><br>
<span class="tickertext1">
Item Code: R109<br>
Item Price:Rs,9865</span><br> <input type="submit" Value="Detail"size=30%>
<input type="submit" Value="Add to List" size=30%>
</form>
</TD>
</tr>








<TR>
<TD width=337 height=10 Align=center><br>
<form>

<a href="ring1.html" target="f3"><input type="Button" Value="<< PREVIOUS"size=30%></a>
</form>

</TD>
<TD width=337 height=10 Align=center><br>
<form>

<a href="ring2.html" target="f3"><input type="Button" Value="NEXT >>"size=30%></a>

</form>



</TD>
</TR>
</TBODY>
</TABLE>
</body>
</html>[/HTML]
Sep 26 '07 #1
1 2741
gits
5,390 Expert Mod 4TB
hi ...

welcome to TSDN ...

i've moved the thread from the js-articles section to the forum for you ... please don't post questions in the articles section

kind regards
Sep 26 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Matt | last post by:
My problem is to allow ASP to interact with JSP, and I pass JavaScript object in my approach, but I wonder if it will work in network, not just in local machine. For testing purposes, the...
1
by: WeAreGoing! | last post by:
Hello. I need to transfer an MD5 digest number between two pages on different domains. I know this is generally not possible, but I have full access on one domain and can insert Javascript at...
3
by: DCB | last post by:
Hello. I have an easy question, likely, that has me in a headspin. I have an include file to a frames based site that basically forces frames on the end user if they visit the site and hit a...
2
by: Shabam | last post by:
I need to have a static html page basically pass all GET arguments from one page to another. For example, I'm on page A. It has "x=12&y=45". There's a link on page A that goes to page B. Page B...
12
by: Russ | last post by:
I'm interested in setting up a web page where live data can be displayed in real-time on the web page. For example: I would like to display a (nice looking) graph of some data value versus time...
5
by: Fresh Air Rider | last post by:
Hello Could anyone please explain how I can pass more than one arguement/parameter value to a function using <asp:linkbutton> or is this a major shortfall of the language ? Consider the...
3
by: Chris | last post by:
I have a modal (yes it must be modal) web page. I do this by having an empty frame that points to my main page (so that I can repost without new popups) I have to pass data to the child page from...
2
by: KFactor | last post by:
Is it possible to pass form variables to a page on another server using response.redirect? Or is there a secure way of passing sensitive information from one site to another such as a userID? ...
19
Atli
by: Atli | last post by:
Introduction At some point, all web developers will need to collect data from their users. In a dynamic web page, everything revolves around the users input, so knowing how to ask for and collect...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.