User Profile

Collapse

Profile Sidebar

Collapse
Gowisha
Gowisha
Last Activity: Sep 1 '10, 04:12 AM
Joined: Aug 14 '10
Location: Vancouver, Canada
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Lunarpages has backpedaled rapidly on this matter, and now admit they made a mistake in telling me this. They thought it was a server-side script. So, the .js file is on the server and the browser-side script is in the html page. Everything now works as programmed, so we shall consider this matter as resolved. Thanks to all for the comments.
    See more | Go to post

    Leave a comment:


  • Gowisha
    replied to I need three sequential drop box menus
    Thanks, good idea and I'll be doing just that. I'll let you know what they come up with (if anything). Meanwhile I've posted the web page at www.capsulecomments.com and the .js script is embedded in the web page. If I post the .js script as a separate file and point to it, all is well, but embedded does not work. C'est la vie.
    See more | Go to post

    Leave a comment:


  • Gowisha
    replied to I need three sequential drop box menus
    I give up! When I remove the outside javascript, the html page then fails to present the drop down boxes. I am going to bite the bullet and pay Lunarpages the extra monthly fee to let the javascript run on the server. Thanks for all of your assistance, I really do appreciate it.
    See more | Go to post

    Leave a comment:


  • Gowisha
    replied to I need three sequential drop box menus
    Sorry, I should have mentioned that the .js code is now within the html <body> and works, with the above exception. It no longer points to an outside .js file.
    See more | Go to post

    Leave a comment:


  • Gowisha
    replied to I need three sequential drop box menus
    Update: I have removed the <head> .js script reference, and have changed the previous message coding to:

    inputSel.setAtt ribute("onchang e","java_script : if (this.selectedI ndex!=0) {window.locatio n='' + (this.options[this.selectedIn dex].text) + '.html';}");

    The change is {window.locatio n='' instead of having 'capsulecomment s' in there. Everything works as it should with one exception. The drop down...
    See more | Go to post

    Leave a comment:


  • Gowisha
    replied to I need three sequential drop box menus
    I removed <script type="text/javascript" src="yourFileNa me.js"></script> from the <head> section of the web page, but that made no difference. In the main .js script there is the following.

    ("id","citySele ct");
    inputSel.setAtt ribute("onchang e","java_script : if

    (this.selectedI ndex!=0)

    {window.locatio n='/capsulecomments .com/' + (this.options...
    See more | Go to post

    Leave a comment:


  • Gowisha
    replied to I need three sequential drop box menus
    All three of the drop down boxes worked fine prior to my plugging the .js file into the html body. They showed all the countries and allowed a selection. The code populated the State drop down box and let the user select a city. Normally when a City is selected, a html page opens. If there is no html page for a selected city, nothing further happens when you click on the City name.

    I guess the bottom line here is that the .js script...
    See more | Go to post

    Leave a comment:


  • Gowisha
    replied to I need three sequential drop box menus
    You can see the developing site here:

    http://capsulecomments.com/...
    See more | Go to post

    Leave a comment:


  • Gowisha
    replied to I need three sequential drop box menus
    Thanks for the suggestion. I did that, but my selection boxes are now non-operational. All three are very small boxes and not selectable. Just to make sure I did this correctly, I opened the .js file in Notepad, and copied the entire contents. I then plugged in the brief script you suggested, with the .js contents pasted in where you indicated. Is it possible that the 'Form' coding needs adjusting? It is:

    <form>
    <table...
    See more | Go to post

    Leave a comment:


  • Gowisha
    replied to I need three sequential drop box menus
    Done, and it works fine. However, I have just been informed that my web site host does not allow JavaScript files, unless I pay extra. I'm now trying to figure out if I can directly convert the entire .js file into either a .html or .php file. Fun, fun, fun...
    See more | Go to post

    Leave a comment:


  • Gowisha
    replied to Converting .js to either .php or .html
    Sorry, that should have read .js file, and not .je file.
    See more | Go to post

    Leave a comment:


  • Gowisha
    started a topic Converting .js to either .php or .html

    Converting .js to either .php or .html

    I have a fully developed JavaScript that includes three databases, plus their handling language. My web host has just informed me that they do not allow .js files. Is it possible to convert this .js file to either all html or to php?

    I've attached the .js file as a .txt file for viewing, so as to avoid questions about what is in the JavaScript file. The web site that will call on the file is at www.capsulecomments.com...
    See more | Go to post
    Last edited by Dormilich; Aug 25 '10, 08:42 AM. Reason: fixed spelling

  • Gowisha
    replied to I need three sequential drop box menus
    Thank you for pointing me to that script. As you have guessed, my biggest problem is figuring out how to have a script such as that, bring up the data in my Access database (3 separate tables). I'll take your suggestion vis-a-vis the MySQL tutorial, but first I need to have it bring up the Access tables. However, you have given me some good guidance here, and I thank you for that.
    See more | Go to post

    Leave a comment:


  • Gowisha
    started a topic I need three sequential drop box menus

    I need three sequential drop box menus

    Desired result:

    Click Select Country and have a drop menu open that lists all of the world's countries.

    Select a Country from that list and have another drop menu then open that lists all of the provinces/states in that country.

    Select a Province/State from that list and have another drop menu then open that lists the cities in that Province/State.

    Selecting a City will open a new web page with...
    See more | Go to post
No activity results to display
Show More
Working...