User Profile

Collapse

Profile Sidebar

Collapse
edwire
edwire
Last Activity: Aug 6 '07, 03:38 PM
Joined: Jul 16 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • edwire
    replied to DIV tags don't show text from onblur
    Hey epots9 it rocks!

    I don't know how to say it, but really thank you for your time.

    Ed

    PS I hope I can keep your e-mail for other projects but this time for real money.
    See more | Go to post

    Leave a comment:


  • edwire
    replied to DIV tags don't show text from onblur
    quick question eposts9, is showing the city and state but I'm missing the zipcode.

    Code:
    document.getElementById('city1').innerHTML = city + ', ' + state;
    do I need to add to this code the zip?

    ex. Santa, Clara (missing the zip code)

    Ed
    See more | Go to post

    Leave a comment:


  • edwire
    replied to DIV tags don't show text from onblur
    I GOT IT! it finally works!

    your da man! thanks for patience! and good help!

    Ed
    See more | Go to post

    Leave a comment:


  • edwire
    replied to DIV tags don't show text from onblur
    eposts9 here again, like this:

    Code:
    	var city = document.getElementById('city').value = results[0]; 
        var state = document.getElementById('state').value = results[1];
    	 var city1 = document.getElementById('city1').innerHTML = city + ', ' + state;
    	  var zipcode = document.getElementById('zipcode').value;
    	  document.getElementById('state1').innerHTML = "North Call 408-458-4855";
    E...
    See more | Go to post

    Leave a comment:


  • edwire
    replied to DIV tags don't show text from onblur
    epost9 which variable do I need to declare?

    Code:
        document.getElementById('city').value = results[0];
          document.getElementById('state').value = results[1];
    	  document.getElementById('city1').innerHTML = city + ', ' + state;
    	  document.getElementById('zip').value;
    	  document.getElementById('state1').innerHTML = "North Call 408-458-4855";
    Ed...
    See more | Go to post

    Leave a comment:


  • edwire
    replied to DIV tags don't show text from onblur
    By the way your line 6 is wrong if you look at the code is no a ONE long line.

    Thanks again

    Ed...
    See more | Go to post

    Leave a comment:


  • edwire
    replied to DIV tags don't show text from onblur
    Can you show me one example of how to declare the variables? Please.

    Thanks a lot for your help!

    Ed...
    See more | Go to post

    Leave a comment:


  • edwire
    replied to DIV tags don't show text from onblur
    Yes I did, here is the HTML with the chnages:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
    <title>ZIP Code to City and State using XmlHttpRequest</title>
    <script language="javascript"  type="text/javascript">
    ...
    See more | Go to post

    Leave a comment:


  • edwire
    replied to DIV tags don't show text from onblur
    nope still same, just shows the text boxes info and nothing on the DIV

    I wonder if the DIV tag is wrong?



    Ed
    See more | Go to post

    Leave a comment:


  • edwire
    replied to DIV tags don't show text from onblur
    epost9 sorry line 13 was edited from the code.

    Ed
    See more | Go to post

    Leave a comment:


  • edwire
    replied to DIV tags don't show text from onblur
    Hey epots, thanks for your help! I've updated with the new tags and still don't work? is there anything missing in the DIV tags? I've just can't figure this out?

    here is the new HTML and script code:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
    ...
    See more | Go to post

    Leave a comment:


  • edwire
    replied to DIV tags don't show text from onblur
    Here is the HTML with changes:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
    <title>ZIP Code to City and State using XmlHttpRequest</title>
    <script language="javascript"  type="text/javascript">
    var
    ...
    See more | Go to post

    Leave a comment:


  • edwire
    replied to DIV tags don't show text from onblur
    But I'm trying to get zip, city and state info inside the textboxes from there I want to extract that information and put it in another line, if I was to remove handleHttpRespo nse you try to getElementById( 'city') then nothing works! on the DIV all I want in there is to be able to have the output from the city, state and zipcode once onblur updates the textbox, but I wan to keep the information also inside the textboxes.. I hope this is clear enough?...
    See more | Go to post

    Leave a comment:


  • edwire
    started a topic DIV tags don't show text from onblur

    DIV tags don't show text from onblur

    I'm totally lost! I've been trying for several days to make Onblur fill in the city, state after the user inputs inside a textbox a 5 digit zip code, from the the zip, city, state text boxes I want to extract the info and pu it in a separate line like this:
    a) user puts a zipcode:95051
    b) Onblur fills in city and state
    c) a new line in the same page showing ex.
    Support Services
    SantaClara,CA 95051

    ...
    See more | Go to post

  • edwire
    replied to Onblur does not update
    In the above posts I have the code and html:
    I want onblur to update the city,state when the user inputs his 5 digit zipcode, the also generate on a separate line City, State ZipCode in one line.

    Thanks

    Ed
    See more | Go to post

    Leave a comment:


  • edwire
    replied to Onblur does not update
    I got the HTML code.

    Can you help?

    Ed...
    See more | Go to post

    Leave a comment:


  • edwire
    replied to Extract info from a textbox using Onblur
    Wonderful! Thanks for your master teaching technique!
    It rocks!

    Ed
    See more | Go to post

    Leave a comment:


  • edwire
    replied to Onblur does not update
    I've tried everything and does not work the submit option, it keeps telling me there's not enough characters?

    I've loaded the HTMLcode to this page: http://www.echildcarem anagement.com/prototype/step6.html

    Thanks for your time!

    Ed...
    See more | Go to post

    Leave a comment:


  • edwire
    replied to Onblur does not update
    I can not post the html code! I/m getting an error: the message is too short? I know the message is long! wht's wrong with the submissing form?

    Ed
    See more | Go to post

    Leave a comment:


  • edwire
    started a topic Onblur does not update

    Onblur does not update

    I'm trying to update the form's text box city, state from the user input using onblur, focus. So far 3 days and zero results!
    here is my code:

    phpcode: newcityState.ph p

    [CODE=php]<?php
    /**
    * Connects to the database.
    * Return false if connection failed.
    * Be sure to change the $database_name. $database_usern ame , and
    * $database_passw ord values to reflect your database...
    See more | Go to post
    Last edited by edwire; Jul 22 '07, 05:48 PM. Reason: wrong info
No activity results to display
Show More
Working...