Yes! That did the trick! [sunshine]
I added to it so that the regions field would also be highlighted with the correct region. Here is the entire href:
HREF="javascript:;" onclick="relate(document.forms['GetActiveData'], 7);document.GetActiveData.regions.options[7].selected=true;"
Works like...
I appreciate your response but I do not know enough about javascript to get your suggestion to work. Given the code I included above maybe you can implement something? Thanks.
I'm not sure why but the code in my previous quote wouldn't work when I ran it. This code works:
<SCRIPT LANGUAGE="JavaScript">
<!--
var supported = (window.Option) ? 1 : 0;
if (supported) {
var active;
var ar = new Array();
ar[0] = new Array();
ar[0][0] = new makeOption("No...
Just to clarify something...
The function makeOption implies that I'm passing a url to the value field, but I am not, I am simply passing the value of the field.
Give us the real code (or at very least, the "relate" function and all related functions). Also, can you wrap your code in "code" tags (see the "Process TGML" box below where you type your post).
All code and functions are posted in my original question. But here it is again:
<SCRIPT...
No, I think you misunderstood my question.
I already have the image map I need with all the regions as hotspots. It is currently set up so that clicking on a region within the imagemap will reload the entire page with a parameter that will update the cities field. This is the result I am...
Maybe better yet - is it possible to use javascript in the imagemap href that would simulate selecting a region from the region pulldown menu? If so, how would I do this?
Yes, I think this is what I need but I'm not sure how to use it in this case.
Sorry if I appear ignorant here - but how can I pass arguments to the function and make it appear as though it was coming from the form? I believe that the function is looking for a selection from the "regions" field...
Well, yes that would be great. :)
I am a master tweaker of javascript, however I don't write it myself. Which HREF attributes would I need to call the functions? Could you provide me with an example using the javascript in my first post?
Thanks again.
Hello,
I am using a form with a double category pulldown menu as follows:
Pulldown 1 = Regions
Pulldown 2 = Cities
Selecting a region in pulldown 1 will display the corresponding cities for pulldown 2. This now is working perfectly.
I also have an imagemap of Oahu on the left side of the...
My sql server space is hosted - so I don't personally own any version myself. But I still need the tools.
Apparently the eval version gives unlimited access to the tools - they never expire. (That is what I was asking)
-Karen
I went ahead and downloaded sqleval.exe (267.7MB) and installed only the client tools (enterprise manager and query analyzer). They do not appear to have any evaluation time constraints on them.
It seems like there should be an easier way, but as far as I could find there is NO other way to...
I just formatted my harddrive and deleted my copy of enterprise manager and the query analyzer. If I download SQLEVAL.exe (with 120 day trial) and just use the query analyzer, will it expire after 120 days? I had the last version for years, as well as the enterprise manager without expiring -...
I need a custom tag or utility to unzip .tar files on the server. I've tried the custom cfx_zip but I get the error "ZIP file structure invalid". (The zip file is fine, I can unzip it on my local disk with winzip). Is there anything out there besides pkzip that I can use?
Thanks
I have sql server space on a paid providers server. I only have limited permissions and don't know alot about sql server administration. I need to change the ownername/password on my account, which I will have to do through tech support. They told me they can change it, but that there could...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.