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

  • Home
  • SEARCH
  • 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 8287091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:56:32+00:00 2026-06-08T11:56:32+00:00

Possible Duplicate: Is it a good practice to use an empty URL for a

  • 0

Possible Duplicate:
Is it a good practice to use an empty URL for a HTML form's action attribute? (action=“”)

I’m updating a project to include an Ajax Updater (http://ajaxuploader.com) and couldn’t figure out why it wasn’t working on my page but worked in my simple example. So I started pulling stuff off the page and found out it was the Action="#" in my form tag.

Unfortunately removing this removes other functionality (think it calls some existing Ajax but not quite sure). What I’m asking is: what is Action="#" and are there any alternatives I could try?

  • 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-06-08T11:56:33+00:00Added an answer on June 8, 2026 at 11:56 am

    Action="#" is basically the html equivalent of Post to self. # is technically an anchor so if you click on a link that is just "#" it does nothing.

    Browser should interpret any Action="#" as Action="THE_HOSTNAME/PAGE"

    Its designed to get around W3C Validation a times since Action="" is considered invalid, since all attributes must have values, this ensures a value is available for the attribute.

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

Sidebar

Related Questions

Possible Duplicate: When do you use the “this” keyword? If I have the following
Possible Duplicate: embedding background image data into css as base64, good or bad practice
Possible Duplicate: Is there a good reason to use upper case for T-SQL keywords?
Possible Duplicate: Should I document my private methods? Is it good practice write comment
Possible Duplicate: Good Primer for Python Slice Notation reverse a string in Python I've
Possible Duplicate: Java : Is there a good natural language processing library Can anybody
Possible Duplicate: Is it a good idea to wrap an #include in a namespace
Possible Duplicate: Is this a good way to generate a string of random characters?
Possible Duplicate: Does anyone know of a good C# API for Subversion? I'm designing
Possible Duplicate: How do you implement a good profanity filter? I am developing a

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.