Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7620353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:55:11+00:00 2026-05-31T03:55:11+00:00

I have a simple login which starts off with a disabled login button unless

  • 0

I have a simple login which starts off with a disabled login button unless the username and password are filled (this check is done by jQuery and removes the disabled attribute if filled).

The problem I am now having is checking to see if the fields are pre-filled by an existing cookie, if they are, then the pre-emptive disabled attribute should not be applied. I was thinking of doing this through Rails but perhaps it can also be done via Javascript / jQuery.

So the question in short could be: how do I check for a cookie in Rails 3.2.* or jQuery?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T03:55:12+00:00Added an answer on May 31, 2026 at 3:55 am

    In the controller you can just say cookies["key"] to get the value of something stored in a cookie.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have simple login box, which is centered to the middle of page (vertical
I have a simple GAE app that includes a login/logout link. This app is
I have created a simple login page which is based on the sessions. session_start();
I have written a simplte PHP login script which starts a session: //Lets start
I have to create a simple WebApplication with Java which shows a Login Dialog
I have to make a simple site which you can log in and out
There are some HTML based games (ie bootleggers.us) that have a simple login form
Implementing a simple Login screen using JSF and Spring and Hibernate. I have written
Ok, i have simple scenario: have two pages: login and welcome pages. im using
I have a simple file-system-ed-login (not mysql) just to track number of users who

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.