Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / July 2006



Tip: Looking for answers? Try searching our database.

Retrieving information from a website using JavaScript ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Navodit - 28 Jul 2006 21:26 GMT
Hi

I have a problem in which I am not sure if Javascript can or should be used.
If anyone can throw light on this it wd be great :

Basically I am working on the development of a database where a user enters
an address (street, city, state, zipcode). Based on the user input of the
address, I need to dynamically determine the latitude and longitude of that
address from the internet. One such website was :
http://stevemorse.org/jcal/latlon.php where we enter the street, city, state
and zipcode etc and the webpage returns the latitude and longitude.

I need to retrieve this information and update the database accordingly. My
question is: Can this information retrieval be done using JavaScript ? I
believe so but am not sure abt how to proceed to get this done ... Any
help/hints wd be appreciated. Thanks.
David Dorward - 28 Jul 2006 22:49 GMT
> Basically I am working on the development of a database where a user
> enters an address (street, city, state, zipcode). Based on the user input
[quoted text clipped - 5 lines]
> I need to retrieve this information and update the database accordingly.
> My question is: Can this information retrieval be done using JavaScript ?

It /can/, but it would probably involve quite a lot of pain and probably not
work in your particular environment. There is almost certainly a better
solution.

You are rather vague about what you are developing. What do you mean by "a
database"?

Some form of RDBMS which you connect to via some server side system (such as
Perl CGI, mod_perl, RoR, ASP, etc) and then present to the user with a
browser?

Some RDBMS which you connect to via ooBase?

Something written in Lotus Approach?

Microsoft Access?

An Exchange server which you connect to via Microsoft Outlook?

Signature

David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
                    Home is where the ~/.bashrc is

Navodit - 31 Jul 2006 17:15 GMT
The application I was referring to is a web based database (MySQL)
programmed in Java. Any idea what wd be the better solution ?

>> Basically I am working on the development of a database where a user
>> enters an address (street, city, state, zipcode). Based on the user input
[quoted text clipped - 27 lines]
>
> An Exchange server which you connect to via Microsoft Outlook?
David Dorward - 31 Jul 2006 18:47 GMT
> The application I was referring to is a web based database (MySQL)
> programmed in Java. Any idea what wd be the better solution ?

Please don't top post.

The user submits data to the Java. It can then go off and look up the
coordinates you want and add them to the database. The specifics of that
are off topic for this newsgroup.

No need to involve JavaScript at all (and doing so would almost certainly
add a lot of complexity for no benefit).

Signature

David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
                    Home is where the ~/.bashrc is

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.