posted 18 years ago
Hi,
i am afraid i need to trouble u again. since i am new to javascript programing i am forced to seek help.
in my main page say 'home', i have two images and a submit button.as soon as the first image is clicked, a new page, page1, opens in which the a 'select' tag with relevant options is available. the relevant code
now as soon as the user chooses one of the select options, that image is displayed on the page using the code:
after the image is displayed, the user clicks on a 'back' button that takes him back to 'home' page. here he clicks on the second image and the same procedure as above is repeated but with text files displayed on the resulting page, 'page2'. the user clicks on a 'back' button and returns to the 'home' page.
when he clicks on the 'submit' button on the 'home' page, a XML file that contains the two files he has chosen earlier is to be generated ie it is of the form:
<choice>
<pic>C:\My Documents\usa.jpg</pic>
<tex>C:\abc.txt</tex>
</choice>
this XML file is a dynamic one and the value of the <pic> and <tex> tags changes depending on the choice made by the user. this XML is to be generated only when the 'submit' button in the 'home' page is clicked
i have successfully used the code (provided by you in ur earlier reply), but now i need to generate the XML taking ouptut from a combination of pages.
the above functionality is a small part of an application i am developing and since i was stuck in this code for the last few days, i am forced to take help from the forums.
thanks in advance