Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2008
    Posts
    43
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Need help auto-selecting values in form

    My Javascript sucks. I'm a PHP programmer. I'm frequently going to this site:

    http://www.wontbebeat.ca

    It requires that I choose a city and store first before redirecting me. I'm using this site multiple times daily and the form is in javascript. Is there a way to automatically input a the city and store so that I don't have to do it manually every time? Can someone point me in the right direction?

  • #2
    Regular Coder
    Join Date
    Apr 2012
    Location
    St. Louis, MO
    Posts
    985
    Thanks
    7
    Thanked 101 Times in 101 Posts
    Most modern browsers have the option of remembering this information for you. Otherwise, it's (usually) up to the developer to use something like cookies to remember that information.
    ^_^

    If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
    *
    The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".

  • Users who have thanked WolfShade for this post:

    soma56 (06-19-2012)

  • #3
    New Coder
    Join Date
    Jul 2008
    Posts
    43
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Thanks

    I'm using PHP cURL though - not a browser. I ended using a FF addon to extract my cookies as a text file. I was then able to post the cookies using cURL to get the data. I just have to figure out how to extend the expiry but this is a good temporary solution.

    Code:
    # Netscape HTTP Cookie File
    # http://www.netscape.com/newsref/std/cookie_spec.html
    # This is a generated file!  Do not edit.
    
    www.nofrills.ca	FALSE	/	FALSE	0	JSESSIONID	HxsJ4xO9gfveWUfU40SlJw**.node13
    www.nofrills.ca	FALSE	/	FALSE	0	ATG_SESSION_ID	HxsJ4xO9gfveWUfU40SlJw**.node13
    .addthis.com	TRUE	/	FALSE	1403201879	uid	4fe0c257f62b3f1d
    .addthis.com	TRUE	/	FALSE	1403201879	uvc	1%7C25
    www.wontbebeat.ca	FALSE	/	FALSE	0	_app_session	9c75386884e583326f3fe3246d2ef15a
    .wontbebeat.ca	TRUE	/	FALSE	1403201879	__utma	203036695.1366087950.1340129872.1340129872.1340129872.1
    .wontbebeat.ca	TRUE	/	FALSE	1340131679	__utmb	203036695.2.10.1340129872
    .wontbebeat.ca	TRUE	/	FALSE	0	__utmc	203036695
    .wontbebeat.ca	TRUE	/	FALSE	1355897879	__utmz	203036695.1340129872.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
    www.wontbebeat.ca	FALSE	/	FALSE	1403201879	__atuvc	1%7C25


  •  

    Posting Permissions

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