By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,619 Members | 2,698 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,619 IT Pros & Developers. It's quick & easy.

Using If..Then in javascript

P: n/a
I have a program that populates a page from a text file. When a value
changes I want it to display and then not be displayed again until the
value changes. Where would I find out how to do this? below is what
I'm trying to get:

Milpitas
191 Maple Street 30,000 sq.ft.
293 Second Street 20,000 sq.ft.

San Jose
1 First Street 15,000 sq.ft.
89 Second Street 20,000 sq.ft.
33 Third Ave 20,000 sq.ft.

Thanks,
Chris

Jan 3 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Lee
Chris said:
>
I have a program that populates a page from a text file. When a value
changes I want it to display and then not be displayed again until the
value changes. Where would I find out how to do this?
First, you need to learn to specify your requirements more precisely.

What do you mean by "a program". Is this server-side code
reading from a file on the server? What language is it
written in?

Do you mean that you only want this page generated once, so that
only one visitor will ever see it? Or do you mean that the page
should only be regenerated when the value changes, but might be
displayed many times before that happens?
--

Jan 3 '08 #2

P: n/a
Chris said:
I have a program that populates a page from a text file. When a value
changes I want it to display and then not be displayed again until the
value changes. Where would I find out how to do this? below is what
I'm trying to get:

Milpitas
191 Maple Street 30,000 sq.ft.
293 Second Street 20,000 sq.ft.

San Jose
1 First Street 15,000 sq.ft.
89 Second Street 20,000 sq.ft.
33 Third Ave 20,000 sq.ft.

Thanks,
Chris

The question doesn't make any sense. "When a value changes, I want it to
display and then not display until the value changes" is likely the most
confusing sentence I've read all year. (All three days of it. ;) )

Could you extrapolate?

~A!

--
anthony at my pet programmer dot com
Jan 3 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.