Results 1 to 3 of 3
  1. #1
    PhreakLemmon is offline Member
    Join Date
    May 2011
    Posts
    2
    Rep Power
    0

    Default how can i get an output in a form ?

    Hi !

    i'm trying to use a free script from maxmin.com for geotargetting.

    <script language="JavaScript" src="http://j.maxmind.com/app/country.js"></script>

    <br>Country Code:
    <script language="JavaScript">document.write(geoip_country _code());</script>
    <br>Country Name:
    <script language="JavaScript">document.write(geoip_country _name());</script>

    but this just displays the location. I need this in a form, so i can store it in a db. I have no Java experience, tried it myself, but it did not work.

    Can anybody help me out ?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

    Default

    Just as hamster is not ham, JavaScript is not Java.

    Find a JavaScript forum.

    db

  3. #3
    PhreakLemmon is offline Member
    Join Date
    May 2011
    Posts
    2
    Rep Power
    0

Similar Threads

  1. Replies: 6
    Last Post: 04-06-2011, 12:39 PM
  2. Replies: 1
    Last Post: 03-22-2010, 09:03 AM
  3. Replies: 0
    Last Post: 10-31-2009, 09:24 AM
  4. Replies: 10
    Last Post: 08-12-2009, 04:02 PM
  5. Replies: 6
    Last Post: 11-28-2008, 06:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •