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 Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    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, 01:39 PM
  2. Replies: 1
    Last Post: 03-22-2010, 10:03 AM
  3. Replies: 0
    Last Post: 10-31-2009, 10:24 AM
  4. Replies: 10
    Last Post: 08-12-2009, 05:02 PM
  5. Replies: 6
    Last Post: 11-28-2008, 07: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
  •