SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2005
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Grab from javascript variable??

    can anyone tell me some ways to grab information from a javascript variable for use in PHP? thanks so much!

  2. #2
    SitePoint Enthusiast zfade3's Avatar
    Join Date
    Jul 2005
    Location
    Endor
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't think you can, without setting the javascript variable to an html form variable that is submitted to the php script or by putting the variable name and value in the querystring of the url (?variale=value).

    Otherwise php is on the server, and the javascript is on the user's browser and they aren't going to be communicating directly.

    Jimmy Z


Bookmarks

Posting Permissions

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