Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP and AJAX

ASP and AJAX

Scheduled Pinned Locked Moved Web Development
databaseperformancehelpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    popin
    wrote on last edited by
    #1

    Presently I'm working in classic ASP. I'm using AJAX for one reason that I do not want to reload the page and for second reason I want better performance. I'm having two dropdowns (combobox) and two textboxes. I want to have the second dropdown populated as per the selection of the first dropdown. That is all fine. I've already implemented that. Now, next I want that the two textboxes contains the records as per the selection of the second dropdown. The first dropdown contains the States, the second dropdown should be populated with the City as per the selection of the States and first textbox should contain with the code of the selected City (the codes of the cities are already there in the database) and the second textbox should contain the latitude and longitude of the selected City (the latitude and the longitude of the Cities are also there in the database). Can anyone please help me? It will be very much helpful if you can provide me with a code. My delivery date is approaching near and I'm in urgent need. Thanks in advance for your help.

    L 1 Reply Last reply
    0
    • P popin

      Presently I'm working in classic ASP. I'm using AJAX for one reason that I do not want to reload the page and for second reason I want better performance. I'm having two dropdowns (combobox) and two textboxes. I want to have the second dropdown populated as per the selection of the first dropdown. That is all fine. I've already implemented that. Now, next I want that the two textboxes contains the records as per the selection of the second dropdown. The first dropdown contains the States, the second dropdown should be populated with the City as per the selection of the States and first textbox should contain with the code of the selected City (the codes of the cities are already there in the database) and the second textbox should contain the latitude and longitude of the selected City (the latitude and the longitude of the Cities are also there in the database). Can anyone please help me? It will be very much helpful if you can provide me with a code. My delivery date is approaching near and I'm in urgent need. Thanks in advance for your help.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      What's the question?

      popin wrote:

      The first dropdown contains the States, the second dropdown should be populated with the City as per the selection of the States and first textbox should contain with the code of the selected City (the codes of the cities are already there in the database) and the second textbox should contain the latitude and longitude of the selected City (the latitude and the longitude of the Cities are also there in the database).

      If the "Codes of the Cities" and the "Latitude and Longitude" are all in the database, what do you need help with? Please be more specific.


      Extreme Exe

      P 1 Reply Last reply
      0
      • L Lost User

        What's the question?

        popin wrote:

        The first dropdown contains the States, the second dropdown should be populated with the City as per the selection of the States and first textbox should contain with the code of the selected City (the codes of the cities are already there in the database) and the second textbox should contain the latitude and longitude of the selected City (the latitude and the longitude of the Cities are also there in the database).

        If the "Codes of the Cities" and the "Latitude and Longitude" are all in the database, what do you need help with? Please be more specific.


        Extreme Exe

        P Offline
        P Offline
        popin
        wrote on last edited by
        #3

        Thanks for replying... Basically the second dropdown gets populated as per the selection of the first dropdown. Now when I select the the second dropdown (i.e. the city) then the two textboxes would be filled up with code of the city and the atitude and longitude of the selected City. The second dropdown is getting populated properly but when I'm selecting the city from the second dropdown, either nothing happens or another combobox is geting created. I'm at a loss as to how to code on the 'onChange' event of the second dropdown. I've tried some ways but none seems to work. Please help urgently. Thanks once again for the response.

        A 1 Reply Last reply
        0
        • P popin

          Thanks for replying... Basically the second dropdown gets populated as per the selection of the first dropdown. Now when I select the the second dropdown (i.e. the city) then the two textboxes would be filled up with code of the city and the atitude and longitude of the selected City. The second dropdown is getting populated properly but when I'm selecting the city from the second dropdown, either nothing happens or another combobox is geting created. I'm at a loss as to how to code on the 'onChange' event of the second dropdown. I've tried some ways but none seems to work. Please help urgently. Thanks once again for the response.

          A Offline
          A Offline
          Akhilesh Yadav
          wrote on last edited by
          #4

          Use XMLData island for filling text boxes

          cheers, Akhilesh Yadav

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups