ASP Hosting sale!
Double disk space and transfer for FREE!
Limited time offer! Act Now!

aspdev | articles | tutorials | forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ASP/Javascript form variable evaluation issue - Need Exprt h

 
Post new topic   Reply to topic    ASPdev.org Forum Index -> ASP programming
View previous topic :: View next topic  
Author Message
bigbrain28



Joined: 16 Mar 2006
Posts: 4
Location: Spring Hil, Florida

PostPosted: Thu Mar 16, 2006 11:44 am    Post subject: ASP/Javascript form variable evaluation issue - Need Exprt h Reply with quote

I am generally a do it yourself guy, and I do want to learn more about ASP, however I am desperate for help with a nagging issue. I am a ColdFusion programmer who was tasked with learning ASP/Java to create a webpage that uses Manifold's IMS (Internet Map Server).

I have done this by Frankenstiening to "sample" pages from Manifold's website into an interactive map that displays an advertisers location dynamically based on the IMS engine creating Lat/Lon coordinates (on the fly) fron the advertisers address (which I keep in a MSSQL db).

The problem is with the values the function (called 'geocodeRaw') gets. They are passed to another ASP page, then to the IMS server to actually create the map image, and the div table that labels the location. The form (currently) does two things.

1) When you select the advertiser from the dropdown the onChange="geocodeRaw();" is called, which does the IMS function, doing some math and collecting the lat/long values and the viewport (scale) values - What it Does not do is submit the hidden values of the form which are needed to "submit" and create the correct map image.

2) When you hit "Display" (the submit button) it actually submits the form which NOW has been evaluated (by onChange="geocodeRaw();) with several key values, then page reloads and redraws correctly.

Basically I need the function to re-evaluate all the hidden fields with the returned data, then submit the form in one step.

If this sounds hard to understand, I agree! This is why I need help so badly, I have literally been working with ASP for less than a week.

Please see http://www.chamberocity.com/maps/Hernando/default.asp for a *working* example. Again, choose adv (like ABC Appliance), the page will "geocode" and bring up details, then hit "display" and their map will display. Note the values at the top and you can see what values are being passed and when.

This is going to be a big deal for us, and the boss is hot for the completion, so any help will be very appreciated!
_________________
Beware the n00b...Hey, thats me!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    ASPdev.org Forum Index -> ASP programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

SQL Tutorial